8 5 5 3 2 1
1 5 10 3 7 1 2 5
6 12 4 4 3 3 1 5
2 4 3 1 6 6 19 8
1 1 1 3 4 2 4 5
6 6 3 3 3 2 2 2
4 1
6 2
限制條件(CONSTRAINTS)
3 < = m < = 1000
3 < = n < = 1000
3 < = a < = m
3 < = b < = n
1 < = c < = a – 2
1 < = d < = b – 2
所有的地形高度都是介於1到100的整數
//暂不要提交....