[UVA] 846 - Steps
Steps
One steps through integer points of the straight line. The length of
a step must be nonnegative and can be by one bigger than, equal to, or
by one smaller than the length of the previous step.
What is the minimum number of steps ...