QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#656686#7015. Rikka with IlluminationsZhaoZiLongWA 104ms33028kbC++172.5kb2024-10-19 13:32:452024-10-19 13:32:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 104ms
memory: 33028kb

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
2 4
2
16 1
2
10 9
2
4 5
2
1 2
2
4 11
2
1 6
2
5 1
2
6 3
2
2 5
-1
2
6 1
2
1 5
2
3 2
2
2 1
2
1 4
2
3 7
2
7 3
2
1 7
2
26 13
2
26 16
2
16 4
2
2 7
2
1 7
2
8 3
2
6 33
2
1 3
2
11 2
2
1 4
2
13 26
2
5 1
2
3 16
-1
2
11 23
2
19 26
2
3 4
2
1 8
2
14 23
2
8 30
2
16 1
2
5 8
2
5 7
2
3 12
2
1 55
2
8 40
2
3 7
2
7 10...

result:

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