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.
Well, your solution says you need 1 fold for an
0.0001m
paper to reach0.0001m
. There's your problem ;-)This comment is hidden because it contains spoiler information about the solution
Simple tests contain only few examples of what you can expect, but when you hit submit, it's gonna test all edge cases (negative numbers, 0, big numbers) and throw many random tests, so passing sample tests is just 1 step towards completion :P
I still don't understand it this program works fine in normal "run simple test" but shows error when i try to submit it.
Always write what language you're using, so we can help.
Try printing the values and see if that helps, or post the input here, so we can tell you why it should return 4.
This isn't a suggestion, so I'm closing it, but you can still reply.
What every you comment me i can't see it it's hidden
This comment is hidden because it contains spoiler information about the solution
because he is not using return statement in default case so java will throw a compile-time error either you have to write return statement in default case or outside the switch block.
I am getting an error in additional tests it is showing expected:<4> but was:<5> please help.
This one is the smallest and easiest one I ever get.