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.
No, instructions are not wrong, and tests are not wrong.
You are experiencing problems caused by the fact that your solution uses an approach which loses some precision at some step. You need to find a way to keep your calculations exact so intermediate or final numbers do not get incorrectly rounded or truncated. There's hint in the description to stay in domain of integers all the time.
Avoid real division, avoid floating point inaccuracies, and avoid unnecessary rounding, and things will be OK.
Please say which language you're using. I have solved this kata in several of them and had no problem with that, seconds must be rounded down.