QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#657470#7015. Rikka with IlluminationsMaMengQiWA 38ms11812kbC++202.3kb2024-10-19 14:49:222024-10-19 14:49:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

2
3 2

result:

ok 1 cases.

Test #2:

score: -100
Wrong Answer
time: 38ms
memory: 11812kb

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:

-1
1
17
1
5
-1
2
3 5
-1
-1
-1
-1
-1
1
1
1
12
2
1 6
-1
1
7
-1
1
12
1
4
1
8
1
12
1
6
-1
-1
-1
-1
-1
1
65
1
13
-1
-1
-1
-1
-1
-1
1
61
-1
-1
-1
-1
-1
1
167
-1
1
21
-1
-1
1
6
-1
-1
1
9
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
121
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
137
-1
-1
-1
-1
-1
...

result:

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