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've submitted a sometimes fail solution in JS, which is off-by-one but coverage is not guaranteed.
fixed
I've submitted a sometimes pass solution in C, which is off-by-one but coverage is not guaranteed.
Oh my bad, I didn't pay attention :(
Thanks for your help.
I made it now
your array does not record months' length in the right order, for example, August (8) has 31 days, not 30
This comment is hidden because it contains spoiler information about the solution
1604 is a leap year ;-)
it's : Test.assertEquals(toDayOfYear([5, 11, 1604]), 310);
language JavaScript
what "last test" ? random test or sample test ? what language are you using ?
the last test should wait for 309 not 310. Can you check? because on my code everything passes except the last test