QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#122102#5106. Islands from the Skyxiaowuc1AC ✓1648ms4440kbC++176.2kb2023-07-09 14:36:512023-07-09 14:36:53

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4168kb

input:

1 1
3
-5 0
5 0
0 5
-10 10 10 10 10 10

output:

45.00000000000007816

result:

ok 

Test #2:

score: 0
Accepted
time: 0ms
memory: 4072kb

input:

1 1
3
-5 0
5 0
0 5
-10 0 10 10 0 10

output:

26.56505117707802199

result:

ok 

Test #3:

score: 0
Accepted
time: 0ms
memory: 4188kb

input:

1 1
3
-5 0
5 0
0 5
0 10 10 10 0 10

output:

46.68614334171698488

result:

ok 

Test #4:

score: 0
Accepted
time: 0ms
memory: 4004kb

input:

1 1
3
-5 0
5 0
0 5
0 10 5 10 0 10

output:

59.49104113379720360

result:

ok 

Test #5:

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

input:

1 1
3
-5 0
5 0
0 5
0 10 20 -10 0 10

output:

31.21969844736844379

result:

ok 

Test #6:

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

input:

1 3
3
-5 0
5 0
0 5
-10 0 25 10 0 20
-5 10 10 10 -5 20
-4 1 100 5 10 100

output:

12.52880770915154152

result:

ok 

Test #7:

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

input:

1 2
4
0 0
20 0
20 40
0 40
-10 30 30 30 30 30
-10 10 30 30 10 30

output:

45.00000000000007816

result:

ok 

Test #8:

score: 0
Accepted
time: 0ms
memory: 4220kb

input:

1 4
4
0 0
20 0
20 40
0 40
-10 30 30 30 30 30
-10 20 30 30 20 30
-10 10 30 30 10 30
10 -10 30 10 50 30

output:

18.43494882292205972

result:

ok 

Test #9:

score: 0
Accepted
time: 2ms
memory: 3984kb

input:

1 2
4
0 0
40 0
40 40
0 40
10 10 10 20 20 20
30 10 10 10 30 20

output:

impossible

result:

ok 

Test #10:

score: 0
Accepted
time: 3ms
memory: 4068kb

input:

1 3
4
0 0
20 0
20 40
0 40
-10 30 30 15 30 30
5 30 30 30 30 30
1 50 30 21 50 30

output:

impossible

result:

ok 

Test #11:

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

input:

1 1
4
0 0
40 0
40 40
0 40
-100 -100 20 100 100 10

output:

63.66575215314691860

result:

ok 

Test #12:

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

input:

1 4
4
-10 -10
10 -10
10 10
-10 10
-100 0 10 100 0 10
0 100 10 0 -100 10
50 50 15 -50 -50 15
-50 50 15 50 -50 15

output:

43.31385665828309328

result:

ok 

Test #13:

score: 0
Accepted
time: 2ms
memory: 4200kb

input:

1 100
100
822286 0
856789 53904
986567 124632
629039 119995
732157 187986
691605 224716
728650 288493
591087 278144
801573 440668
425257 269876
614456 446428
424157 350893
645680 606334
406524 432904
545628 659551
359831 495265
367048 578376
251435 457360
319990 680014
336526 849968
214009 658652
23...

output:

53.79063843107252296

result:

ok 

Test #14:

score: 0
Accepted
time: 1648ms
memory: 4336kb

input:

100 1
100
461002 481444
460618 481480
460584 481512
460833 481595
460670 481605
460545 481607
460942 481801
460526 481672
460912 481923
460765 481903
460505 481781
460430 481766
460589 481959
460593 482032
460477 481972
460440 481994
460510 482183
460285 481888
460387 482179
460246 481963
460303 482...

output:

impossible

result:

ok 

Test #15:

score: 0
Accepted
time: 6ms
memory: 4344kb

input:

100 1
100
461002 481444
460618 481480
460584 481512
460833 481595
460670 481605
460545 481607
460942 481801
460526 481672
460912 481923
460765 481903
460505 481781
460430 481766
460589 481959
460593 482032
460477 481972
460440 481994
460510 482183
460285 481888
460387 482179
460246 481963
460303 482...

output:

33.69079560972091514

result:

ok 

Test #16:

score: 0
Accepted
time: 10ms
memory: 4340kb

input:

100 1
100
461002 481444
460618 481480
460584 481512
460833 481595
460670 481605
460545 481607
460942 481801
460526 481672
460912 481923
460765 481903
460505 481781
460430 481766
460589 481959
460593 482032
460477 481972
460440 481994
460510 482183
460285 481888
460387 482179
460246 481963
460303 482...

output:

66.40279664206595100

result:

ok 

Test #17:

score: 0
Accepted
time: 19ms
memory: 4180kb

input:

100 100
100
461002 481444
460618 481480
460584 481512
460833 481595
460670 481605
460545 481607
460942 481801
460526 481672
460912 481923
460765 481903
460505 481781
460430 481766
460589 481959
460593 482032
460477 481972
460440 481994
460510 482183
460285 481888
460387 482179
460246 481963
460303 4...

output:

4.18900164713149703

result:

ok 

Test #18:

score: 0
Accepted
time: 12ms
memory: 4440kb

input:

100 11
100
461002 481444
460618 481480
460584 481512
460833 481595
460670 481605
460545 481607
460942 481801
460526 481672
460912 481923
460765 481903
460505 481781
460430 481766
460589 481959
460593 482032
460477 481972
460440 481994
460510 482183
460285 481888
460387 482179
460246 481963
460303 48...

output:

32.41192847717420022

result:

ok 

Test #19:

score: 0
Accepted
time: 16ms
memory: 4200kb

input:

100 90
100
461002 481444
460618 481480
460584 481512
460833 481595
460670 481605
460545 481607
460942 481801
460526 481672
460912 481923
460765 481903
460505 481781
460430 481766
460589 481959
460593 482032
460477 481972
460440 481994
460510 482183
460285 481888
460387 482179
460246 481963
460303 48...

output:

5.57544893597902202

result:

ok 

Extra Test:

score: 0
Extra Test Passed