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.
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.
@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
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"
This comment is hidden because it contains spoiler information about the solution