A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog always jumps a fixed distance, D.
Tue Apr 19 2022 19:37:14 GMT+0000 (Coordinated Universal Time)
Saved by @selvendhiran11 #java
https://app.codility.com/demo/results/trainingTPD6F3-9CE/
Comments