QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38404#1181. Invited SpeakersZhangYiDeAC ✓2ms3716kbC++172.3kb2022-07-05 13:50:492022-07-05 13:50:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3708kb

input:

1
3
0 0
2 2
1 -4
-1 -2
-3 -1
-2 4

output:

4
0 0
0 200
-1 200
-1 -2
4
1 -4
1 201
-2 201
-2 4
4
2 2
2 202
-3 202
-3 -1

result:

ok OK!

Test #2:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

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

output:

4
5 6
5 200
6 200
6 2
4
8 -5
8 201
7 201
7 10
4
-9 -1
-9 202
-8 202
-8 -8
4
-1 -7
-1 203
3 203
3 -3
4
-3 5
-3 204
10 204
10 7
4
6 6
6 200
5 200
5 -1
4
0 1
0 201
1 201
1 3
4
-10 9
-10 202
-7 202
-7 -2
4
10 0
10 203
4 203
4 7
4
-3 -10
-3 204
3 204
3 -3
4
9 8
9 200
8 200
8 9
4
0 -3
0 201
2 201
2 -9
4
-...

result:

ok OK!