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.
There're only 12 valid inputs for which the answers can be easily hard-coded, so the challenge is as good as "compare the inputs to some fixed values", and that's not new at all.
Input validation is more annoying than anything and should be dropped.
Test.assert_equals
should be used instead.When i run the sample test my code is working fine. But when i try to attempt my code it is giving the following error
Time: 1712ms Passed: 0 Failed: 1
Response received but no data was written to STDOUT or STDERR.
SIGKILL
Process exited prematurally with a SIGKILL signal.
WHAT SHOULD I DO?
Excellent problem, one of my favs so far. The performance had me for a bit.