Board Wrapping

Problem Number: 
10 652
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
2 5 5 5 5 20 100 100 5 5 20 3 436 85 5 12 1 566 66 12 15 5 1000 1000 1 1 75
Problem Id: 
10652