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.
Thank you, you saved me!
Description says case insensitive:
https://github.com/Codewars/codewars-runner-cli#user-content-language-support-status
Looking at the example you provide (
d2[0][0][0]="A"...
) it seems "subarrays" are built by reference instead of value, then when we modify "one" of them, all are modified ('cause "all" are references to the same unique one).That's why error message says "
Subarrays must be distinct
"Hope it helps !
This comment is hidden because it contains spoiler information about the solution
Hi nwr, MemoryError occurs because call to range(1, n) generates a list e.g. range(1,10) will generate a list: [1, 2, 3, 4, 5, 6, 7, 8, 9]. Use a while loop it will solve your problem.
Only problem is that the parser complains about the return value of '100.00' when it is looking for '100'.... and then I fix the problem and it complains about 'Expected: 552.91, instead got: 552.91'
yes