Walking on the Safe Side

Problem Number: 
825
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
8 1 1 1 1 8 1 1 8 1 4 8 1 1 2 3 4 5 6 7 8 8 1 1 2 3 4 1 5 6 7 8 4 4 1 2 3 4 8 8 1 2 3 5 4 1 4 5 3 6 6 2 7 7 8 8 8 8 1 2 6 3 2 4 5 5 1 6 3 7 5 8 8 5
Problem Id: 
825