Folding My T-Shirt

Problem Number: 
10 416
Type of Problem: 
Problem Category: 
Input: 
Random Input
Critical Input
0
Critical Input: 
1 10 3 0 2 1 -2 1 -1 0 -2 -1 -1 -3 -2 -4 2 -4 3 -3 2 -1
Random Input: 
4 4 0 0 1 3 -2 4 -3 1 5 10 10 10 0 0 0 0 10 5 15 5 10 10 10 0 0 0 0 10 6 15 5 -2 0 0 2 2 0 1 0 0 0
Problem Id: 
10416