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.
@joh_pot what do you mean by the term "bite"?
So I also thought about this question, why do not the tests extend to the letter Y?
Ah, please excuse me, I just thought that the sequence can consist of any numbers in the original array, that is, they can be unordered. And here we were talking about an ordered sequence, that is, an order, like the original array.
the assignment says "find the LONGEST non-negative sequence", as you said, the correct answer has a length of 5, but what about my version with a length of 7, it is more in fact .. And according to the assignment it is most suitable ..
it was on Javascript
This comment is hidden because it contains spoiler information about the solution
Guys who write why the test data do not match, or some of them get the 10th day, not the 29th .. The author just forgot to add that the second argument (evap_per_day) changes and denotes the percentage of the amount spent from the REMAINING content.. That is, our content decreases - evap_per_day decreases))