Team Selection Test
For the codebreaker version, the input will be given to your program as T (the testcase number) in the first line, followed by the contents of file T.in in the remaining lines (or sample.in for T = 11). The only testcase in subtask X (1 <= X <= 11) is the one with T = X.
You must submit source code (possibly by hardcoding the output as a string which your program will print).
Sample input (to codebreaker version):
11
4 2
1 1
1 10
10 10
1 5
2
2