SP1112 NSTEPS - Number Steps
题目描述
如下图,将自然数0,1,2,…写在平面直角坐标系内,问在点(x,y)处是否写了一个数,如果有,输出这个数,否则输出“No Number”。

例如1写在(1,1),2写在(2,0),3写在(3,1)。
输入格式
The first line of the input is N, the number of test cases for this problem. In each of the N following lines, there is x, and y representing the coordinates (x, y) of a point.
输出格式
感谢@qq1010903229 提供的翻译