QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#223723#2615. Surround the CatGuanYunchangRE 0ms0kbC++172.0kb2023-10-22 15:56:182023-10-22 15:56:19

详细

Test #1:

score: 0
Runtime Error

input:

0 0
1 0
1 -1
1 -2
2 -2
3 -1
4 -1
5 0
5 1
5 2
5 3
5 4
5 5
4 5
3 5
2 5
1 5
0 5
-1 5
-1 6
-1 7
-2 7

output:

0 -6
6 0
2 -4
4 -2
3 -3
5 -1
6 1
6 2
6 3
6 4
6 5
6 6
5 6
4 6
3 6
2 6
1 6
0 6
-2 4
-1 5
-3 3
-4 2

result: