Trail Maintenance

Problem Number: 
1 123
Type of Problem: 
Problem Category: 
Input: 
Random Input
Critical Input
0
Critical Input: 
2 4 3 2 4 33 3 2 69 1 4 59 8 11 7 1 40 7 1 42 3 8 39 5 8 53 1 3 5 4 5 67 3 6 51 5 3 61 6 2 17 8 2 40 3 8 25
Random Input: 
2 5 8 3 1 70 4 2 30 2 5 93 2 1 38 1 5 57 3 5 61 3 1 28 1 5 98 8 12 4 5 46 6 5 28 4 6 93 2 7 84 2 4 35 2 6 59 3 4 51 3 5 36 1 8 37 6 3 28 8 5 2 5 8 64
Problem Id: 
1123