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.
Your division and remainder logic is wrong. In the case of
62
, it should be1 minute
, but for your code hereit yields 0 minutes...
I was having the same issue, for me it worked to validate when the input is 0.
Hi @LipskyiAlex - welcome to Codewars;
I don't use Java, so I can't help specifically with your code, but you should checkout the following Troubleshooting document especially the section on "It works fine on my IDE".
Maybe there is some advice there that applies to your situation.
The same problem.