Ad
  • Custom User Avatar

    Passed without issues, thanks for fixing test!

  • Custom User Avatar

    I passed:), Thanks.

  • Custom User Avatar

    thanks. I might be the second one to pass this test by C++ :)

  • Default User Avatar

    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."

  • Custom User Avatar

    I have the same problem, failing on this test. Hope it gets resolved quickly, thanks for the post!

  • Custom User Avatar

    You should be able to edit the kata itself as its translator.

  • Custom User Avatar

    I have the same problem, failing on this test. Hope it gets resolved quickly, thanks for the post!

  • Default User Avatar

    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.

  • Default User Avatar

    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.

  • Default User Avatar

    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.

  • Custom User Avatar

    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.