QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#536448#2615. Surround the Catucup-team1005#WA 205ms3648kbC++206.0kb2024-08-29 12:59:252024-08-29 12:59:25

詳細信息

Test #1:

score: 0
Wrong Answer
time: 205ms
memory: 3648kb

input:

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

output:

9 0
9 5
5 9
4 9
6 9
3 9
2 9
7 9
8 9
1 9
9 8
-1 8
9 9
0 9
-2 7
-3 6
-4 5
-5 4
-6 3
-7 2
-8 1
-9 -1
-9 0
-9 -2
-9 -3
-9 -4
-9 -5
-9 -6
9 7
9 6
9 4
-9 -7
-9 -8
9 3
-8 -9
-9 -9
-7 -9
-6 -9
-5 -9
-4 -9
-3 -9
-2 -9
-1 -9
9 2
9 1
3 -6
4 -5
2 -7
5 -4
6 -3
7 -2
1 -8
0 -9
8 -1
-8 -8
-8 -7
-8 -6
-8 -5
-8 -4
-8...

result:

wrong answer -6 2 is the location the cat currently locates in!