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.
After reading through the comments, I realized that this is probably my mistake.
If I am not wrong on this, then there're several other tests that share the same problem.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Okey. I forget about that one, though I did accommodate it with my code :).
I guess the Kotlin bnf should actually be the following?
If it is so, then the Java one will have to be modified as well.
Indeed! Thanks!
Finally worked around it by adding this hack:
Turns out that "00|15|1711|15|59" should actually be "00|43|31". :)
Can anyone into the test cases of the c version?
I got some strange test case like this:
"00|15|1711|15|59, 02|22|00, 02|47|16, 02|32|34, 01|17|20, 12|17|20, 01|22|34, 02|17|17"
Tried to handle "00|15|1711|15|59" as two seperated records, but got this error message:
"Error. Expected Range: 11|33|49 Average: 03|12|29 Median: 02|19|38
but got Range: 12|02|03 Average: 04|03|04 Median: 02|22|00"
How is it possible that 11|33|49 is the range!?