Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
A bit late, but you can use something like a
std::sync::atomic::AtomicU16
or just astatic mut u16
as like a question counter, and then just return false when that counter hits a certain value.The only slight issue is that Rust tests are run in parallel, but I'm assuming only one of the test categories are timing out, so this should be fine.
You can print the input and then force flush stdout, which should ensure the printed input will be displayed even if the tests have timed out.