QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#657305#7015. Rikka with IlluminationsHuangHanShengWA 96ms3780kbC++143.8kb2024-10-19 14:32:392024-10-19 14:32:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

2
1 2

result:

ok 1 cases.

Test #2:

score: -100
Wrong Answer
time: 96ms
memory: 3780kb

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
15 0
-1
-1
4
4 1 4 0
-1
4
16 17 19 13
-1
-1
-1
-1
-1
-1
-1
-1
4
6 9 2 1
5
5 11 9 5 11
-1
-1
-1
-1
-1
4
12 2 5 3
4
4 6 0 1
6
44 34 47 20 24 31
4
40 0 18 1
5
36 39 27 24 33
-1
6
4 15 11 1 17 13
4
6 40 33 17
4
14 11 16 27
-1
4
110 54 64 19
4
43 31 24 19
3
64 19 31
-1
4
102 113 119 32
5
59 74 9 50 132...

result:

wrong answer Integer 0 violates the range [1, 17]