QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#549150#7015. Rikka with Illuminationsucup-team1005#WA 50ms3836kbC++202.3kb2024-09-06 10:31:142024-09-06 10:31:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 50ms
memory: 3836kb

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
10 1
-1
-1
-1
-1
3
17 20 10
-1
4
13 7 1 22
-1
-1
-1
8
8 15 7 3 14 2 10 12
-1
-1
3
3 2 7
-1
-1
-1
-1
-1
4
8 11 10 27
4
13 10 12 7
4
7 1 2 5
4
17 48 25 43
4
15 1 56 31
5
37 4 22 6 15
-1
6
5 7 12 9 11 13
4
7 41 27 19
4
15 26 41 21
-1
4
111 32 25 89
-1
4
32 41 20 23
4
72 38 39 117
5
4 5 3 13 20
4
76 6...

result:

wrong answer In case 6, the chosen illuminants cannot light up all exterior boundaries of the polygon.