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.
... I'm mocking the easiness of the kata in a comment that ends with ':^)' which is there to indicate -a very obvious- sarcasm. I obviously have used this site and know how kyu works.
see also: https://en.wikipedia.org/wiki/Emoticon#Creation_of_:-)_and_:-(
Why did I even need to explain this? Why did anyone even pay attention to this easily dismissible comment?
that is the joke. (see the ":^)")
this should be a 1 kyu kata :^)
I should've clarified I'm using c++. Still, as I said all types of rounding screw up by 1 second in a random test. Tortoises might not care about fractions but the tests do. This issue is not solved.
the first example case shows a time needed of 32 minutes and 18 seconds which is correct if you just round it but that's not how the world works. The exact time needed is 32 minutes and 18.48 seconds which makes the minimum time needed in integer minutes and seconds 32 minutes and 19 seconds, not 18.
Edit: This rounding issue is not just an issue but an inconsistency. A round() should work as the example suggests but it fails on random cases and the physically accurate ceil() fails aswell.