QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#657699#7015. Rikka with IlluminationsZhaoZiLongWA 73ms5848kbC++201.3kb2024-10-19 15:16:062024-10-19 15:16:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3656kb

input:

1
3 3
0 0
1 0
0 1
-1 -1
3 -1
-1 3

output:

2
2 3

result:

ok 1 cases.

Test #2:

score: -100
Wrong Answer
time: 73ms
memory: 5848kb

input:

100
13 17
-976 -766
-628 -956
462 -987
967 -997
981 -123
919 115
847 336
692 789
350 908
-558 996
-843 944
-944 400
-974 -476
-41876798 919231678
-375313647 26070145
-288061228 527643156
-93144407 730297
93699145 -260606010
-393321698 -339399089
644245933 784344503
-731740672 525632046
-32141854 114...

output:

2
5 1
-1
2
14 1
4
4 14 1 1
3
2 14 1
4
17 18 19 5
3
16 14 19
4
5 19 7 3
3
6 13 7
3
7 5 19
2
5 19
2
5 19
3
5 5 19
-1
3
7 10 13
-1
5
5 19 7 4 1
3
7 13 7
3
7 13 7
4
7 13 7 4
4
13 8 27 4
4
13 3 6 7
4
5 7 1 2
5
34 25 26 7 12
4
25 9 56 2
4
34 13 9 56
-1
6
5 7 12 2 18 14
4
37 41 10 18
4
15 12 17 28
-1
4
45 ...

result:

wrong answer In case 3, there is no solution but output yes.