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.
fixed
Initial test cases of "A" and "AB" would have been helpful.
Here I have the same issue.
Thank you, that solved my problem!
For PHP I always
definethem as constants, because I never needed anything mutable in the preloaded section.Has anybody got an idea how I can access vars from the preloaded section in PHP?
It worked. Thank you
Please try again, I was refactoring the kata in Java some minutes ago. Just to be sure that this didn't cause your problem...
Java
My code works in my IDE (IntelliJ), but when I test it here there's a wrong output.
The code was definitely same for both, yet produced different outputs.
The word at which problem has occured is "same".
Has anyone got the same problem?
Answered by avermakov.
No worries.
This comment is hidden because it contains spoiler information about the solution
That's much better! Thanx again! :-)
Fork which omits the codewars_test message
I think you can
test.failto get only a custom message.Loading more items...