PHP Frog Jmp
function frogJmp(int $x, int $y, int $d): int
{
    return ceil(($y - $x) / $d);
}

This computes the jump count with math instead of simulation, which is the cleanest way to solve it.