Chess Queen

Problem Number: 
11 538
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
2 2 100 223 1 1000000 2300 1000 1000000 1000000 1234 5678 7777 88888 1000000 1 1 999999 999999 2 999999 999999 0 0
Problem Id: 
11538