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.
Java seems fine, but post your code with proper markdown and a spoiler tag, and I'll take a look for you if you want.
Using Java, the sample test case is saying my solution is wrong, but I checked with a calculator and I'm getting the correct answer.
Are you by any chance printing instead of returning the result?
That's because your foreign environment doesn't have all the correct tests. it's best to remain on CW for that reason.
My solution works as expected on my machine but it's a different case on here.
you can print them at the beginning of your function, match them to the error messages to debug
I am able to pass all tests but one. I'm getting a Comparison Failure error and according to the stack trace, its occurring on line 21 of the fixed tests. Can you tell me the values of the variables are for that test so I can figure out whats going on?