Back
A frog jumps on a number line with max distance and periodic penalty per jump type. Find the minimum penalty count to reach the target.
algorithm
codeforces
greedy