Barcelona's Trams

Problem Number: 
10 767
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
2 1 100 5 4 999 3 2 100 14 6 332 15 10 56 7 2 777 2 1 64 25 5 1000
Problem Id: 
10767