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.
Indeed ! All attempts work now !
That was very bad from me...But no errors during execution and a result that looked very "normal", what a trap !
Thanks for your reply !
[language used : C]
Hi,
An attempt fails and is somewhat confusing :
The expression (as strings) (actual) == (s->expected) is false:
actual
68,70,72-75,77,80,82,83,85,87,89,90,92,94,97-99,102-104,106,109,112,115,118,119,122,124,125,128,130,132,134-137
expected
68,70,72-75,77,80,82,83,85,87,89,90,92,94,97-99,102-104,106,109,112,115,118,119,122,124,125,128,130,132,134
.Since, in my code, the numbers written in the result only come from the array args, how is that possible 137 appears in my result since the array stops at 134 ?
Anyway, thanks for your kata !
This comment is hidden because it contains spoiler information about the solution
Test in C with n = 7375 is ok on my side and takes approx. 2 seconds.
Since my laptop isn't a fancy one (Intel® Core™ i5-8250U CPU @ 1.60GHz × 8), are there more CPU consuming tests after that one ?
Language used : C
Could someone tell me what is that uncheated snail ? Is it an empty one ?
It seems the very last attempt (the 15th ?) crashes (signal 11 : SIGSEGV)
[EDIT]]finally got that last little devil...
This comment is hidden because it contains spoiler information about the solution
No, Node class already exists ( I tried to cheat by creating one but, no way, it would be a duplicate => compilation error :-) ) but is not available to run tests on our beloved machine.
There's no way to test locally : Node class is not available, not a big deal but...
Don't trust my solution, I've seen random tests that don't pass... and I clicked "Submit" when it was ok, too late... :-(
I like your solution : no import.