QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#657819#7015. Rikka with IlluminationsMaMengQiWA 68ms6344kbC++201.3kb2024-10-19 15:31:372024-10-19 15:31:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 68ms
memory: 6344kb

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
3
5 17 19
-1
4
3 5 13 7
-1
-1
-1
8
8 15 7 3 14 2 10 11
-1
-1
3
3 2 7
-1
-1
-1
-1
-1
4
8 2 5 13
4
13 3 12 7
4
5 7 1 2
4
17 48 25 13
4
25 9 38 2
5
37 4 14 6 15
-1
6
5 7 12 2 11 14
4
37 41 27 18
4
15 26 17 28
-1
4
45 11 25 89
-1
4
32 2 1 23
4
72 12 114 155
5
4 8 3 9 20
4
75 10 51 129
...

result:

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