QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#31106#2615. Surround the CatlarryzhongTL 0ms0kbC++144.1kb2022-05-03 00:56:312022-05-03 00:56:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

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

output:

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

result: