QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#382850#5809. Min PerimeterShaoJia20 ✓4852ms18972kbC++171.6kb2024-04-08 19:46:182024-04-08 19:46:19

详细

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 34ms
memory: 5992kb

input:

15
3
2 6
7 0
3 0
3
713 269
371 79
455 421
3
91983245 637281504
756917015 312173515
869576338 436726680
10000
14761642 78236002
9047458 47951098
5238002 27761162
476182 2523742
1428546 7571226
26190010 138805810
21904372 116092132
18094916 95902196
43332562 229660522
55237112 292754072
52380020 27761...

output:

Case #1: 17.893012206205
Case #2: 1042.844834964388
Case #3: 1711142102.791327107698
Case #4: 90912.296374032924
Case #5: 3.414213562373
Case #6: 26.153830342164
Case #7: 1701.012681095617
Case #8: 2865438.191993871100
Case #9: 2020088.337226319682
Case #10: 1792106.037292071139
Case #11: 2019352.54...

result:

ok correct! (15 test cases)

Subtask #2:

score: 15
Accepted

Test #2:

score: 15
Accepted
time: 4852ms
memory: 18972kb

input:

15
3
501691275 344354353
167768963 536043860
249445040 557426549
4
1000000000 0
0 0
1000000000 1000000000
0 1000000000
1000000
138925776 669369648
61257680 295150640
170762328 822763944
55483472 267329456
97736936 470914328
84041848 404928904
18463588 88960924
124429360 599523280
95066048 458045504
...

output:

Case #1: 799653579.133089741750
Case #2: 3414213562.373095048824
Case #3: 866.071590574359
Case #4: 62459.895369637148
Case #5: 59141.918358931781
Case #6: 898195.090968267993
Case #7: 1707085.769986785054
Case #8: 1686.226798258136
Case #9: 1686.603545971635
Case #10: 6806.665583936293
Case #11: 19...

result:

ok correct! (15 test cases)

Extra Test:

score: 0
Extra Test Passed