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.
Random tests are currently completely broken: it only generates inputs like
(((((((((
and expects0 hours
.Also the author/reference solution is plain wrong: if it was correct the spec would actually be
It's unclear how we should handle the error; it's not mentioned, and the sample tests doesn't demonstrate this.
Could you explain how the math works on this example?
Two oaks and one birch take 5 hours to cut down. With a 30-minute break every hour, it takes 7.5 hours. Which rounds up to 8 hours. Why is the result 10 hours?