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.
I spent quite some time with this kata too. Finished it just now.
In case you still need a hint: If O(n) in cpp can solve it,
ice1000
will set it to 1e6 instead of 2e5. ^^mmmh... Maybe for the first point, yes (I misread your sentence, sorry) Could you be more precise? Sample tests? or just not enough tests in the full test suite? In what language are there more?
it's like that in all languages. Hence it is the actual task to solve. closing. ;)