Flooded!

Problem Number: 
815
Type of Problem: 
Problem code: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
3 3 25 37 45 51 12 34 94 83 27 10000 3 3 25 37 45 51 12 34 94 83 27 100000 3 1 -6 -5 -4 300 3 1 -6 -5 -4 301 3 1 -6 -5 -4 100 0 0
Flag: 
0
Restrict Problem Hints: 
0
Restrict Problem Inputs: 
0
Problem Id: 
815