QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#658488#7015. Rikka with IlluminationsZhaoZiLongWA 18ms3668kbC++202.2kb2024-10-19 16:54:352024-10-19 16:54:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

2
2 1

result:

ok 1 cases.

Test #2:

score: -100
Wrong Answer
time: 18ms
memory: 3668kb

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
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
5
11 22 38 46 49
-1
-1
-1
-1
-1
-1
4
38 40 81 87
-1
-1
5
10 44 61 79 91
-1
-1
4
9 58 92 36
4
16 57 125 7
-1
5
66 91 93 110 162
4
8 101 147 9
-1
-1
6
50 99 98 122 189 197
-1
-1
-1
-1
-1
-1
-1
-1
-1
4
85 133 176 260
4
62 154 23...

result:

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