QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38432#1181. Invited SpeakersZhaoZiLong AC ✓2ms3652kbC++171.9kb2022-07-05 16:53:282022-07-05 16:53:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

4
-3 -1
-3 1000
2 1000
2 2
4
-2 4
-2 999
1 999
1 -4
4
-1 -2
-1 998
0 998
0 0

result:

ok OK!

Test #2:

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

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
-9 -1
-9 1000
-8 1000
-8 -8
4
-3 5
-3 999
7 999
7 10
4
-1 -7
-1 998
3 998
3 -3
4
5 6
5 997
6 997
6 2
4
8 -5
8 996
10 996
10 7
4
-10 9
-10 1000
-7 1000
-7 -2
4
-3 -10
-3 999
3 999
3 -3
4
0 1
0 998
1 998
1 3
4
4 7
4 997
10 997
10 0
4
5 -1
5 996
6 996
6 6
4
-10 0
-10 1000
7 1000
7 -2
4
-8 4
-8 999
5 ...

result:

ok OK!