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.
Seeing that you've eventually solved this without segfaults, do you wish to resolve the outstanding issue or is there something still unresolved?
This comment is hidden because it contains spoiler information about the solution
this is a puzzle kata, you have to figure out how to make the code compile.
It's possible, but usually that's not the case. 12 seconds is given for all the tests combined, not individual ones. You can also modify sample tests to simply run one test at a time. If your code takes 2 seconds for average test, then you may be timing out at the very start of some test, but usually tests are constructed such way that they get increasingly more difficult to solve.
Your code doesn't even go past fixed tests (including hidden ones), and there are 40 random tests including numbers like 2000186715165977672, which your code can't handle. You may need a different approach :P
Yes.
I don't think that's possible. Test runner shuts down after timeout limit (12s). The last input that you see in console is the that causes problems. To test the actual time (if it's over 12s), you can do it locally.