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.
Passed without issues, thanks for fixing test!
I passed:), Thanks.
thanks. I might be the second one to pass this test by C++ :)
I can not, when I try to save/publish I get the error message "Description cannot be approved, recent changes from related record must be merged first."
I have the same problem, failing on this test. Hope it gets resolved quickly, thanks for the post!
You should be able to edit the kata itself as its translator.
I have the same problem, failing on this test. Hope it gets resolved quickly, thanks for the post!
You're right, the problem comes from the modulo that doesn't behave the same way in C++ and Python, and I completely forgot that when translating the kata. I hope the changes I made will quickly be approved.
You're right, the problem comes from the modulo that doesn't behave the same way in C++ and Python, and I completely forgot that when translating the kata. I hope the changes I made will quickly be approved.
I fixed a mistake in the C++ translation. Could someone approve the changes ?
The C translation has the same issue even though no one has reported it yet, but to avoid description conflicts, I will fix it after the C++ translation fork gets approved.
C++ test cases are wrong.
For example, in python, the naive and correct solution of Avanta's Kata,
print(triangle("GBRBBGBGBRGBRBRGBGBBRGGGGBBRGRRBRGBRBBGBBRBRGRBRBRRBGGRRGRRBGGRGRBBRBGRGBBBRGBBRBBRRGGGRRRRGBGRRGRRRBBRGGRBRBBGBGBGRGRGGRBRGRGGBGBGRGBGGBGGRRRBRRGRBBBGRBBGRGRGBRBBBBGRBGRBBGRBBGRBGRGBBRRBGBRGBRRGRRRRGGRRRRRBRGBGGGGGBRGGBRRGGGRBBGRGRRGGGBRGGGRRBBGGBRRGRGRGRRGBRGRRBBGGRRRBGRRRRBBRBRGRBGRBRBBGGRGGRGRRGRGBGGRBRBBGRBBBGBGBBRRGRRRBGRRBGGBBBBBGBRBRBGBGBGGBBBGGBGRRBRRRBBBBBBRBRBBBBGRGRBGRBBGGGBRRBRRBGRBRRRBRRGBRGGBGRRGRRRBGBRBRRRRBRBRGGBBBBRBRGBGBRGRRGRBBGGRBBRBBGBGBBGGGGGBRRGRRBGRGBRRRBGRGBBGRBRRGBGGGBRGBBGRBGRGRGBGRGBBGBRBGRBRRGBGGRRGRBGRGBBGRBRGGBRBBRGGBGBBRGBGBBRGBGBRRGRGRRBBGBBRGBBRGBRBGBGBBBRBRBRBGRGBGGGBGBGBGGRBRGGBGGGGRBGGBBGRBRRGGBGRGRRRGGRBRBGBGGGGGRRGBBBBBRGRRRGBRBRBRGBGGGGRBBBBGRRRRRGBGBGGRRGGRBRRGBBGRRGGGGRBRGRRGGRRGBBBRGRRRGBBGBRBRBGBGBBGGBBRBGGGGRBBBBRRGRRBRGBGGGRRGRBBRBRRGBBRBGRR"))
will print out 'G'.
As for C++, I print out the random test case which is exactly the long string above. The required answer is 'B' instead of 'G'.
Hence, I believe there is something wrong with the C++ test cases.