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.
Oh, it`s so lovely to hear such pleasant words. Still, we all have where to grow - good luck to u on that way! Sure your solutions will become awsome in a short time.
I always kick myself after coming up with a convoluted way of doing these things and see a solution like yours that makes it look so simple! Well done
This:
can be replaced by this:
It will be much faster.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Im finally understood it. Sorry
Yes, the expected results are ok and you're returning them wrong, analyze why. You're not using all bills to give change it seems.
Test 6 with data 25 25 50 100 returns YES when there is actually NO answer. Same for test 17 with data 25 25 25 25 50 100 50 and it returns YES when actually there is NO. Am I really calculated it wrong?
Print the input, the tests are ok. When the problem is in your code, use
Question
label instead.Im passed all the tests exluding 6 and 17 ones using C#. Is there a way to look at this tests? How can I figure out what is wrong with my program?
UPD: Test 17: Log 25 25 50 100; My result: NO; Test: YES.
Same not an issue as others. All tests are correct.
Same issue as others, test cases throwing NO should equal YES incorrectly.
In Java, how solution with summing revenue have passed? Add test [25,50,50], please, cause some solutions seems to say "YES" in that case, but were accepted.