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.
Who has this problem don't belive Google about seconds and pay attention to this:
Chrono79. I think you may be wrong
4 years and 68 days in seconds is this
That number is bigger than the input (127246240)
Using an online tool, https://www.calculatorsoup.com/calculators/conversions/time.php
gives seconds to years as 4.03. If it was 68 days, it would be more like 4.186
Can you go back and check please ?
I can agree...really struggled on this one. But curious how other did it
The tests are fine. Not a kata issue. It's 68 days btw, read the error message again and print the input to debug your code.
I get this error:
basicTests
expected:<4 years, 6[8 days, 3 hours and 4 minute]s> but was:<4 years, 6[3 days, 11 hours, 57 minutes and 20 second]s>
random tests are correct.
In my IDE I cant reproduce the behavior. Everything seems fine. Even If choose the input 127246240 (which is 4 years, 8 days, 3 hours and 4 minutes) the output is correct. Any idea? Done with Java