QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141826#6991. Rolling The PolygonsdoiAC ✓1ms4132kbC++231.4kb2023-08-18 02:42:392023-08-18 02:42:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
4
0 0
2 0
2 2
0 2
1 1
3
0 0
2 1
1 2
1 1
5
0 0
1 0
2 2
1 3
-1 2
0 0
6
0 0
3 0
4 1
2 2
1 2
-1 1
1 0

output:

Case #1: 8.886
Case #2: 7.318
Case #3: 12.102
Case #4: 14.537

result:

ok 12 tokens

Test #2:

score: 0
Accepted
time: 1ms
memory: 4132kb

input:

50
9
685 -856
996 -558
867 151
120 882
-75 966
-997 967
-956 -628
-637 -933
500 -889
295 -63
11
288 942
-974 853
-867 -485
-730 -897
-614 -965
277 -860
509 -731
701 -517
816 -269
841 592
845 908
-50 -140
13
-911 97
-955 -496
-879 -852
-669 -959
572 -997
935 -782
957 -470
964 23
956 641
632 834
-137 ...

output:

Case #1: 7392.119
Case #2: 7185.680
Case #3: 8566.290
Case #4: 7558.260
Case #5: 8056.907
Case #6: 7822.441
Case #7: 8063.360
Case #8: 9438.598
Case #9: 9406.847
Case #10: 8038.276
Case #11: 8480.641
Case #12: 9868.279
Case #13: 7998.393
Case #14: 9059.588
Case #15: 8493.547
Case #16: 9569.443
Case ...

result:

ok 150 tokens