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.
he need change the value of ret
This comment is hidden because it contains spoiler information about the solution
That's because you're new to C, not new to programming.
If you can do this kata in one language, then it's pretty easy to do it in another language. It's coming up with the initial solution, when you've had no experience doing a problem like this before, that's harder. It doesn't require anything special with a lower level language like memory management or using different types. The difficulty comes from creating the algorithm, and realising what you need to do. I remember spending hours trying the do this kata, when I first started on Codewars, before realising the 'correct' way to solve it.
It used to be 4kyu anyway, and has already been downranked once.
This kata is from 2013, back then maybe the ranks were different than what they are today. The rank can't be changed anymore for powerusers, only admins can do that now. You'll find more old katas overranked.
The kata asks for the first day the evaporator stops working. Before rounding, the formula gives how many days have passed. Days are typically counted starting from 1. So for day 1 it gives some value between 0 and 1; for day 2, a value between 1 and 2; and so on.