Lift Hopping in the Real World

Problem Number: 
10 841
Type of Problem: 
Problem Category: 
Input: 
Random Input
Random Input: 
2 30 10 5 0 1 3 5 7 9 11 13 15 20 99 4 13 15 19 20 25 30 3 50 10 50 100 0 10 30 40 0 20 30 0 20 50 5 1 1 2 3 4 50 0 2 6 2 3 5 3 8 1 8 20 0 1 5 1 1 2 3 4 100 0 2 6 2 3 5 3 8 1 8 20 0 1 5 0 1 2 3 4 50 0 2 6 2 3 5 3 8 1 8 20 0 1
Problem Id: 
10841