Escape From The PitLevel pending
The pit is 54 meters high, and the frog fell into the bottom of it. At the bottom he found food that weighs 300g. He decided to bring the food with him as he starts to climb out of the pit.
His normal jump length is 600cm per day. But with the food he is carrying, he could only jump his normal length minus the weigh of the food. At night he would slip the weigh of the food in centimeters.
He eats 50g of the food at the end of every day before nighttime. So if he had 300g when he started jumping at daytime he would only have 250g before nighttime. When he has no food left he would jump his normal length and not slip at night.
(If he has 300g of food then his jump length per day will be 600-300=300cm. Then at night he would slip 250cm because he ate 50g of the food in before nighttime. This will go on and on until he has no food left. )
How many days would it take the frog to escape from the pit?