Subway (1)

Problem Number: 
10 124
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
999 34 15 2 800 64 80 90 20 90 15 6 523 500 64 18 20 500 90 1 1000 1 1 1 458 100 1 15 1 10 10 10 1 1000 1000 1000
Problem Id: 
10124