Ad
  • Custom User Avatar

    Yes. Due to a way how testing loop is built, you print many inputs in one line.

    Print an additional blank line at the very beginning and/or end of your solution function to get better overwiew of inputs.

  • Custom User Avatar

    @sachin19988: all the cases you showed should expect "YES". Why do you think ot shold be otherwise?

    @Draelios: you are right that such test case should expect "NO". I also checked the C++ version of the kata and it seems to be correct. I suppose you misinterpret some information, and the numbers you are looking at are not an actual input. Are you sure these are not, for example, multiple inputs of more than one test case, displayed in a confusing way?

    Please see if this article is any helpful: https://docs.codewars.com/training/troubleshooting

  • Default User Avatar

    i think i have same problem [25, 50, 25, 100], [25, 25, 25, 25, 50, 100, 50],[25, 50, 25, 100, 25, 25, 50, 100, 25, 50, 25, 100, 25, 25, 50, 100]
    all this lists excepting "yes" instead of "no"

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution