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.
Can you post your current solution as a spoiler so i can have a look!
This comment is hidden because it contains spoiler information about the solution
Hey, if maxScore was 0 then nobody could win, hence there would be no need to play a game. So i think its all good:)
This comment is hidden because it contains spoiler information about the solution
No, im not even calling that function. It says its being called inside the
check()
method which i dont have access to?Bit stumped tbh, any ideas?
Need some help with this error, im on the last bomb and seem to get this?
C++ Translation submitted. Please review and approve.
Hey, this is just a convention i follow when programming regardless of the language. Its not as if it is bad practice but rather personal preference so no need to really change it tbh
Can you explain how this bypasses the kata? Im not familiar with Java test cases but im extremely curious about this solution.
Can you show what the value was to win the match ie.
maxScore
and also tell us what language you are using?:)Tests seem to work now. Unknown cause of errors running before
Published by mistake, have an error with random tests, they dont seem to all run for some reason. i will investigate. This is a tricky kata to translate to C++ but im nearly there. ANy help would be appreciated
Hey, you can pass the random tests easily without having bounds checking in your code. My code wasnt properly checking combinations with 00 in them like this
R00-R98-R54"
so it was failing so i just spammed attempt until the random cases didnt produce an answer with00
in the code. Maybe add some fixed cases that test for it?Anyways, good kata!
Done, thank you :)
@adrian.eyre, agreed, updated the description.
Loading more items...