Test Case for Question #5 in DWITE 2010-2011 High School Round 4
Contest: DWITE 2010-2011 High School Round 4
Question: #5
Input File: DATA5.txt
Output File: OUT5.txt
Input
2 15 23 48 14
10 35 16 20 29
9 8 70 22 0
6 6 42 39 13
2 5 62 11 22
Output
20
3
0
2
11