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.
Thanks! I don't think anybody has ever complimented my coding before!
Very good solution
Not an issue
Like mine
Managed to?
This should be in the description.
i have met the same problem.... how to solve this ?
I think this walk will take you 8mins and not exactly 10 like the problem asks for
Same here, any ideas?
You didn't pass all the tests, sorry! You're missing an edge case, the empty string. It specifies in the problem description that the empty string should be counted as a proper group, and thus return true. I can't see your code, but I'm guessing that it assumes at some point that the string is non-empty, and grabs the first element, which of course doesn't exist if the string is empty.
keep getting "unknown error" or memory error from large number input
f(83065750, 36664444)
83065750.0 36664444.0
Traceback:
in
in f
MemoryError
It seems either one of the test case isn't correct or I don't understand the problem
['s', 'e', 'w', 'n', 'n', 'e', 's', 'w']
True should equal False <---- this is the error message I got
I passed all tests, but it gave me error messege listed below. It doesn't seem to be from a new test, since I print out input at the start of the program, and I don't see any new input printing out after the last "Test Passed"
The las test I passed was "{[{}[]{}{}{}{}{}{}()()()()()()()()]{{{[[[((()))]]]}}}}(())[[]]{{}}[][][][][][]"
Traceback:
in
in group_check
IndexError: list index out of range
Which language? The timing is sufficient but when codewars is too busy, it can time-out.
All is in description. Did you really verify your co-prime rule?
Loading more items...