QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#76028#5355. 多边形上天Qiuly10 50ms4228kbC++144.4kb2023-02-07 09:42:422023-02-07 09:42:44

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

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

input:

8
53 0
11 935
11 945
1 935
61 915
121 935
111 945
111 935
61 925

output:

785.2497770878

result:

ok found '785.24978', expected '785.24979', error '0.00000'

Test #2:

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

input:

4
931 0
1 867
51 847
101 867
51 887

output:

12291.3358796537

result:

ok found '12291.33588', expected '12291.33619', error '0.00000'

Test #3:

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

input:

8
721 0
1 313
21 303
41 313
41 318
61 313
61 308
81 313
41 333

output:

5690.6795227189

result:

ok found '5690.67952', expected '5690.67988', error '0.00000'

Test #4:

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

input:

10
303 0
1 545
21 535
41 545
46 545
41 550
61 545
66 545
61 540
81 545
41 565

output:

3187.0770274089

result:

ok found '3187.07703', expected '3187.07705', error '0.00000'

Test #5:

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

input:

26
244 0
4 925
9 928
10 927
24 936
24 937
29 940
31 939
44 948
44 949
49 952
54 951
64 955
63 961
59 958
54 955
52 957
39 947
39 946
34 943
30 945
19 935
19 934
14 931
12 932
1 927
4 924

output:

3354.6399333120

result:

ok found '3354.63993', expected '3354.64002', error '0.00000'

Test #6:

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

input:

20
854 0
7 404
3 396
5 395
8 401
18 396
12 384
4 388
5 390
11 387
15 395
9 398
7 394
9 393
10 395
12 394
10 390
4 393
1 387
13 381
21 397

output:

7543.4738499622

result:

ok found '7543.47385', expected '7543.47409', error '0.00000'

Test #7:

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

input:

16
701 0
6 400
16 395
26 400
36 415
46 400
51 410
46 420
31 430
46 440
36 445
26 440
16 425
6 440
1 430
6 420
21 410

output:

6309.8808067648

result:

ok found '6309.88081', expected '6309.88097', error '0.00000'

Test #8:

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

input:

7
906 0
1 531
51 581
81 551
111 581
71 621
41 591
1 631

output:

9432.4269348112

result:

ok found '9432.42693', expected '9432.42723', error '0.00000'

Test #9:

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

input:

4
462 0
1 957
101 857
201 957
101 1057

output:

6210.9032480745

result:

ok found '6210.90325', expected '6210.90343', error '0.00000'

Test #10:

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

input:

3
25 0
2018 4322
1 288
4035 2305

output:

192.6629549021

result:

ok found '192.66295', expected '192.66297', error '0.00000'

Test #11:

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

input:

7
702 0
1 373
41 353
41 373
71 403
51 423
31 403
1 403

output:

5999.3551596296

result:

ok found '5999.35516', expected '5999.35568', error '0.00000'

Test #12:

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

input:

1998
429 0
3767 3138
3780 3092
3746 3125
3710 3223
3620 3249
3613 3342
3675 3373
3740 3341
3666 3457
3593 3437
3550 3491
3602 3524
3643 3502
3568 3561
3489 3464
3487 3418
3506 3408
3612 3358
3593 3361
3537 3387
3612 3272
3516 3353
3411 3408
3450 3346
3505 3252
3406 3373
3340 3427
3352 3470
3290 3367...

output:

5326.8798249579

result:

ok found '5326.87982', expected '5326.88000', error '0.00000'

Test #13:

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

input:

1999
314 0
1248 1040
1248 1028
1222 979
1239 997
1234 999
1310 984
1263 1000
1312 1007
1400 993
1351 1066
1342 1048
1358 1116
1431 998
1430 1059
1467 1025
1432 885
1413 905
1405 932
1361 914
1379 943
1398 990
1318 943
1296 963
1313 917
1287 920
1298 937
1279 934
1280 943
1281 968
1277 966
1255 984
1...

output:

2680.1559034288

result:

ok found '2680.15590', expected '2680.15614', error '0.00000'

Test #14:

score: 0
Accepted
time: 49ms
memory: 3968kb

input:

2000
585 0
7253 8738
7199 11592
7219 11938
7222 14798
7217 18958
7058 20006
7449 19631
7199 19795
7369 18858
7432 12009
7365 11908
7323 13461
7310 18417
7333 2500
7329 4885
7301 2464
7300 18396
7293 13514
7266 19388
7291 4352
7295 1322
6817 113
10834 149
11482 272
11172 598
11315 1326
11374 2269
113...

output:

21715.6926420399

result:

ok found '21715.69264', expected '21715.69284', error '0.00000'

Test #15:

score: 0
Accepted
time: 50ms
memory: 3916kb

input:

2000
783 0
13294 14681
14130 14748
14670 15645
14783 15871
14423 16189
13914 16310
14131 16461
14360 16660
14699 16275
16259 16583
15836 15846
16286 15799
16707 16065
16175 16807
16352 17189
16183 16957
15735 16598
15065 16574
15820 17128
14875 17847
15088 17368
14829 16467
14787 16801
14788 17099
1...

output:

15094.2328798921

result:

ok found '15094.23288', expected '15094.23344', error '0.00000'

Test #16:

score: 0
Accepted
time: 17ms
memory: 3936kb

input:

1004
252 0
7001 107
7000 107
6999 107
6998 107
6997 107
6996 107
6995 107
6994 107
6993 107
6992 107
6991 107
6990 107
6989 107
6988 107
6987 107
6986 107
6985 107
6984 107
6983 107
6982 107
6981 107
6980 107
6979 107
6978 107
6977 107
6976 107
6975 107
6974 107
6973 107
6972 107
6971 107
6970 107
6...

output:

1161.9650240374

result:

ok found '1161.96502', expected '1161.96512', error '0.00000'

Test #17:

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

input:

500
182 0
6427 102
6449 123
6472 145
6496 168
6521 192
6547 217
6574 243
6661 327
6692 357
6693 358
6723 389
6752 419
6780 448
6833 503
6882 554
6905 578
6948 623
6968 644
6987 664
7005 683
7022 701
7038 718
7053 734
7082 765
7123 809
7161 850
7173 863
7196 888
7207 900
7228 923
7257 955
7285 986
72...

output:

7257.3732928288

result:

ok found '7257.37329', expected '7257.37341', error '0.00000'

Test #18:

score: 0
Accepted
time: 50ms
memory: 4020kb

input:

2000
322 0
9908 20007
9903 20002
9901 20000
9900 19999
9878 19977
9821 19920
9809 19908
9805 19904
9804 19903
9763 19862
9748 19847
9733 19832
9719 19818
9711 19810
9707 19806
9667 19766
9573 19672
9535 19634
9527 19626
9524 19623
9515 19614
9497 19596
9467 19566
9465 19564
9428 19527
9396 19495
938...

output:

11455.6474933911

result:

ok found '11455.64749', expected '11455.64772', error '0.00000'

Test #19:

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

input:

4
302 0
1 10107
10001 107
20001 10107
10001 20107

output:

11412.2396203351

result:

ok found '11412.23962', expected '11412.23972', error '0.00000'

Test #20:

score: 0
Accepted
time: 32ms
memory: 3852kb

input:

1000
306 0
17907 9955
19014 10012
18876 10068
15563 10063
15295 10092
16681 10170
19168 10307
16945 10268
14828 10207
14832 10238
17217 10420
18725 10571
19786 10708
19252 10727
17435 10626
15184 10462
16712 10650
18372 10872
15959 10652
16618 10771
19580 11188
18841 11152
18435 11154
15258 10747
18...

output:

12829.2616169492

result:

ok found '12829.26162', expected '12829.26173', error '0.00000'

Test #21:

score: 0
Accepted
time: 7ms
memory: 3856kb

input:

500
913 0
19773 9874
16724 9959
17432 10063
17292 10152
15090 10134
17165 10330
16636 10381
17560 10548
16810 10569
15430 10500
14917 10506
19243 11172
14855 10625
19350 11429
16373 11022
19549 11712
15224 10956
19318 11914
18153 11770
17965 11834
18627 12111
16310 11602
14949 11303
14767 11317
1728...

output:

12904.3685369383

result:

ok found '12904.36854', expected '12904.36876', error '0.00000'

Test #22:

score: 0
Accepted
time: 4ms
memory: 3884kb

input:

100
731 0
15416 9434
14837 9754
18960 10598
16064 10640
15278 10855
16921 11766
18528 12913
18521 13565
16301 13040
16158 13506
17275 14908
17090 15513
14842 14224
15483 15549
13895 14455
14359 15790
13566 15461
12530 14507
13728 17906
11840 14735
11755 15632
11503 16296
11516 18741
10599 16227
1013...

output:

11377.9475578310

result:

ok found '11377.94756', expected '11377.94780', error '0.00000'

Test #23:

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

input:

1000
870 0
20001 10105
20000 10167
20000 10230
19999 10293
19997 10356
19996 10419
19993 10481
19991 10544
19988 10607
19985 10670
19981 10732
19977 10795
19972 10858
19967 10920
19962 10983
19956 11046
19950 11108
19944 11171
19937 11233
19929 11295
19922 11358
19914 11420
19905 11482
19896 11545
1...

output:

14028.3172257791

result:

ok found '14028.31723', expected '14028.31744', error '0.00000'

Test #24:

score: 0
Accepted
time: 20ms
memory: 4080kb

input:

500
649 0
20001 10107
20000 10232
19997 10358
19993 10483
19988 10609
19981 10734
19972 10860
19962 10985
19950 11110
19937 11235
19922 11360
19905 11484
19887 11609
19867 11733
19846 11857
19823 11980
19799 12104
19773 12227
19746 12349
19717 12471
19686 12593
19654 12715
19621 12836
19586 12957
19...

output:

13033.7632900579

result:

ok found '13033.76329', expected '13033.76351', error '0.00000'

Test #25:

score: 0
Accepted
time: 11ms
memory: 4192kb

input:

100
603 0
20001 10104
19981 10731
19922 11357
19823 11977
19686 12590
19511 13194
19298 13785
19049 14361
18764 14921
18444 15462
18091 15981
17706 16478
17290 16949
16846 17393
16375 17809
15878 18194
15359 18547
14818 18867
14258 19152
13682 19401
13091 19614
12487 19789
11874 19926
11254 20025
10...

output:

12779.0234503752

result:

ok found '12779.02345', expected '12779.02367', error '0.00000'

Test #26:

score: 0
Accepted
time: 5ms
memory: 3956kb

input:

28
541 0
91 143
161 108
324 135
419 226
372 474
368 313
322 393
307 203
285 524
282 304
234 174
232 315
220 400
217 493
214 133
185 180
183 433
169 550
156 363
137 195
107 299
101 247
95 396
86 320
63 501
44 248
1 426
17 183

output:

2700.8673367993

result:

ok found '2700.86734', expected '2700.86775', error '0.00000'

Test #27:

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

input:

10
558 0
111 271
58 221
57 202
8 117
102 124
66 134
71 143
158 106
135 120
94 154

output:

2753.3087522768

result:

ok found '2753.30875', expected '2753.30911', error '0.00000'

Test #28:

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

input:

5
742 0
21 308
11 408
11 208
1 308
11 108

output:

3494.5149055546

result:

ok found '3494.51491', expected '3494.51547', error '0.00000'

Test #29:

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

input:

5
91 0
101 119
301 109
201 119
401 119
301 129

output:

730.1968706041

result:

ok found '730.19687', expected '730.19692', error '0.00000'

Test #30:

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

input:

5
731 0
1 103
101 203
52 152
201 303
50 154

output:

3352.4898649049

result:

ok found '3352.48986', expected '3352.49016', error '0.00000'

Test #31:

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

input:

5
865 0
1 104
101 204
61 144
121 224
41 164

output:

3986.0585150490

result:

ok found '3986.05852', expected '3986.05883', error '0.00000'

Test #32:

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

input:

5
133 0
1 108
101 208
61 148
201 308
41 168

output:

625.4036151466

result:

ok found '625.40362', expected '625.40372', error '0.00000'

Test #33:

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

input:

8
600 0
1 104
21 134
1 164
1 154
1 144
1 134
1 124
1 114

output:

2765.2024381843

result:

ok found '2765.20244', expected '2765.20266', error '0.00000'

Test #34:

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

input:

4
359 0
1 208
56 163
101 108
101 208

output:

1786.4202844934

result:

ok found '1786.42028', expected '1786.42056', error '0.00000'

Test #35:

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

input:

4
298 0
1 114
11 104
101 194
91 204

output:

1383.8872109649

result:

ok found '1383.88721', expected '1383.88732', error '0.00000'

Test #36:

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

input:

4
422 0
1 107
101 106
102 206
2 207

output:

2063.7603825463

result:

ok found '2063.76038', expected '2063.76066', error '0.00000'

Test #37:

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

input:

4
732 0
101 105
201 205
101 305
1 205

output:

3489.5013899659

result:

ok found '3489.50139', expected '3489.50157', error '0.00000'

Test #38:

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

input:

3
893 0
1 108
20001 20107
20000 20108

output:

4193.4242731271

result:

ok found '4193.42427', expected '4193.42495', error '0.00000'

Test #39:

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

input:

3
262 0
10001 20106
10000 20106
10001 106

output:

11219.5858299221

result:

ok found '11219.58583', expected '11219.58600', error '0.00000'

Test #40:

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

input:

3
866 0
20001 204
1 204
20001 104

output:

23990.6655191127

result:

ok found '23990.66552', expected '23990.66583', error '0.00000'

Test #41:

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

input:

3
616 0
20001 104
1 104
20001 103

output:

22825.2376973754

result:

ok found '22825.23770', expected '22825.23795', error '0.00000'

Test #42:

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

input:

5
551 0
1 106
2 108
2 111
1 108
1 107

output:

2563.7511155995

result:

ok found '2563.75112', expected '2563.75147', error '0.00000'

Subtask #2:

score: 0
Dangerous Syscalls

Test #43:

score: 30
Accepted
time: 2ms
memory: 3888kb

input:

8
811 14
11 911
11 921
1 911
61 891
121 911
111 921
111 911
61 901

output:

10885.3995714198

result:

ok found '10885.39957', expected '10885.39957', error '0.00000'

Test #44:

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

input:

4
742 54
1 342
51 322
101 342
51 362

output:

5826.3321726582

result:

ok found '5826.33217', expected '5826.33218', error '0.00000'

Test #45:

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

input:

8
737 59
1 758
21 748
41 758
41 763
61 758
61 753
81 758
41 778

output:

8980.2726833453

result:

ok found '8980.27268', expected '8980.27268', error '0.00000'

Test #46:

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

input:

10
242 59
1 1059
21 1049
41 1059
46 1059
41 1064
61 1059
66 1059
61 1054
81 1059
41 1079

output:

3567.3595231461

result:

ok found '3567.35952', expected '3567.35952', error '0.00000'

Test #47:

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

input:

26
428 24
4 512
9 515
10 514
24 523
24 524
29 527
31 526
44 535
44 536
49 539
54 538
64 542
63 548
59 545
54 542
52 544
39 534
39 533
34 530
30 532
19 522
19 521
14 518
12 519
1 514
4 511

output:

4331.6722465305

result:

ok found '4331.67225', expected '4331.67224', error '0.00000'

Test #48:

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

input:

200
140 77
1 944
101 944
101 1044
100 1044
100 1043
99 1043
99 1044
98 1044
98 1041
97 1041
97 1044
96 1044
96 1039
95 1039
95 1044
94 1044
94 1037
93 1037
93 1044
92 1044
92 1035
91 1035
91 1044
90 1044
90 1033
89 1033
89 1044
88 1044
88 1031
87 1031
87 1044
86 1044
86 1029
85 1029
85 1044
84 1044
...

output:

1998.9854261590

result:

ok found '1998.98543', expected '1998.98540', error '0.00000'

Test #49:

score: 0
Accepted
time: 4ms
memory: 4028kb

input:

20
875 53
1 797
11 797
11 807
10 807
10 806
9 806
9 807
8 807
8 804
7 804
7 807
6 807
6 802
5 802
5 807
4 807
4 800
3 800
3 807
1 807

output:

11175.7919437249

result:

ok found '11175.79194', expected '11175.79194', error '0.00000'

Test #50:

score: 0
Accepted
time: 9ms
memory: 3992kb

input:

80
236 42
53 146
67 145
33 145
17 144
42 144
68 145
76 145
43 144
115 144
123 145
136 145
141 146
188 146
137 145
160 145
116 144
126 144
161 145
167 145
127 144
197 144
187 145
196 145
196 146
197 145
198 145
198 144
200 144
199 145
200 145
200 146
199 146
200 147
197 147
198 146
197 146
196 147
19...

output:

857.1272315875

result:

ok found '857.12723', expected '857.12723', error '0.00000'

Test #51:

score: 0
Accepted
time: 15ms
memory: 3956kb

input:

91
499 31
1 718
2 732
2 758
3 790
3 746
2 731
2 724
3 745
3 743
2 723
2 720
3 735
3 727
2 718
2 719
1 717
1 715
2 717
2 716
3 726
3 717
2 715
1 714
2 714
3 715
3 714
4 714
4 718
3 716
4 719
4 733
3 736
3 742
4 734
4 775
3 791
3 792
2 759
2 783
3 793
3 806
4 776
4 836
3 807
3 813
4 837
4 849
3 814
3 ...

output:

6105.1162231499

result:

ok found '6105.11622', expected '6105.11622', error '0.00000'

Test #52:

score: 0
Accepted
time: 7ms
memory: 4080kb

input:

57
370 2
193 430
171 431
189 431
194 430
196 430
190 431
199 431
197 430
200 430
200 432
165 432
170 431
153 431
164 432
116 432
118 431
107 431
115 432
83 432
106 431
94 431
82 432
63 432
50 431
42 431
62 432
6 432
26 431
12 431
5 432
1 432
1 431
7 431
1 430
5 430
8 431
11 431
6 430
18 430
27 431
4...

output:

3246.5420372237

result:

ok found '3246.54204', expected '3246.54204', error '0.00000'

Test #53:

score: 0
Accepted
time: 5ms
memory: 3908kb

input:

38
413 3
2 782
3 781
3 816
2 783
2 839
3 817
3 843
2 840
2 852
3 844
3 861
2 860
2 876
3 862
3 877
2 877
2 882
3 878
3 886
2 886
2 883
1 886
1 846
2 859
2 853
1 845
1 734
2 770
2 732
1 733
1 687
3 687
3 691
2 688
2 731
3 692
3 780
2 771

output:

5162.4832855899

result:

ok found '5162.48329', expected '5162.48329', error '0.00000'

Test #54:

score: 0
Accepted
time: 5ms
memory: 3888kb

input:

186
57 78
14 852
13 851
13 850
14 851
16 851
16 850
15 850
14 849
15 849
15 848
14 848
13 849
14 850
12 849
10 849
9 850
12 850
12 851
13 852
7 852
11 851
8 851
6 852
3 852
6 851
7 851
8 850
7 850
5 851
4 851
5 850
5 849
3 847
2 850
2 851
3 848
3 850
4 849
4 850
2 852
1 852
1 844
2 846
2 849
3 843
3...

output:

754.6798045676

result:

ok found '754.67980', expected '754.67980', error '0.00000'

Test #55:

score: 0
Accepted
time: 5ms
memory: 4116kb

input:

195
302 66
15 843
14 843
14 842
15 841
15 839
16 842
16 840
15 838
14 839
14 841
13 843
13 844
12 844
12 845
11 844
11 845
10 846
10 844
9 846
8 847
7 847
9 845
8 845
9 844
8 843
9 842
9 841
7 844
8 844
7 845
5 846
7 846
6 847
9 848
6 848
5 847
5 848
1 848
1 847
4 847
2 846
2 845
1 846
1 843
2 844
2...

output:

3937.6361122569

result:

ok found '3937.63611', expected '3937.63611', error '0.00000'

Test #56:

score: 0
Accepted
time: 13ms
memory: 4196kb

input:

183
885 78
4 297
3 301
3 300
2 300
2 301
1 305
1 299
2 299
2 297
1 298
1 293
2 296
2 293
3 299
3 296
4 295
3 295
4 294
3 294
3 293
13 293
13 294
14 293
16 293
14 294
15 294
17 293
17 296
16 294
14 296
15 296
14 297
16 296
16 295
17 297
17 301
16 299
16 297
15 297
13 298
14 298
13 299
13 301
14 300
1...

output:

6826.8950017011

result:

ok found '6826.89500', expected '6826.89500', error '0.00000'

Test #57:

score: 0
Accepted
time: 4ms
memory: 4228kb

input:

191
247 50
3 578
3 577
2 577
1 576
4 577
6 579
6 578
5 577
7 577
9 579
10 579
10 580
9 580
8 579
8 581
7 580
7 578
6 580
5 579
4 579
6 581
7 581
7 582
9 584
8 584
4 580
3 580
5 582
3 581
2 581
2 582
3 582
3 583
2 585
3 584
2 586
4 584
5 585
4 585
3 586
4 586
4 587
2 587
2 588
4 588
2 589
2 590
3 589...

output:

2685.1920525923

result:

ok found '2685.19205', expected '2685.19205', error '0.00000'

Test #58:

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

input:

20
261 26
7 647
3 639
5 638
8 644
18 639
12 627
4 631
5 633
11 630
15 638
9 641
7 637
9 636
10 638
12 637
10 633
4 636
1 630
13 624
21 640

output:

2964.0850112123

result:

ok found '2964.08501', expected '2964.08501', error '0.00000'

Test #59:

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

input:

10
24 2
1 931
401 931
401 1031
101 1031
101 1231
301 1231
301 1131
401 1131
401 1331
1 1331

output:

681.3243909212

result:

ok found '681.32439', expected '681.32439', error '0.00000'

Test #60:

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

input:

10
457 62
1 824
401 824
401 1024
301 1024
301 924
101 924
101 1124
401 1124
401 1224
1 1224

output:

5851.6300899412

result:

ok found '5851.63009', expected '5851.63010', error '0.00000'

Test #61:

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

input:

9
124 28
31 588
31 608
21 618
51 638
61 628
91 628
91 648
21 638
1 588

output:

1397.4793328031

result:

ok found '1397.47933', expected '1397.47933', error '0.00000'

Test #62:

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

input:

7
337 38
31 382
31 402
61 422
91 422
91 442
21 432
1 382

output:

2948.0467024097

result:

ok found '2948.04670', expected '2948.04670', error '0.00000'

Test #63:

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

input:

8
779 54
1 928
101 1028
901 1028
1001 928
1001 1138
901 1038
101 1038
1 1138

output:

8547.0902211565

result:

ok found '8547.09022', expected '8547.09020', error '0.00000'

Test #64:

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

input:

8
980 44
1 267
11 367
91 367
101 267
101 468
91 368
11 368
1 468

output:

7133.9837001209

result:

ok found '7133.98370', expected '7133.98369', error '0.00000'

Test #65:

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

input:

8
415 56
201 606
191 616
11 616
1 606
1 426
11 416
191 416
201 426

output:

3794.8171529037

result:

ok found '3794.81715', expected '3794.81716', error '0.00000'

Test #66:

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

input:

16
160 74
6 677
16 672
26 677
36 692
46 677
51 687
46 697
31 707
46 717
36 722
26 717
16 702
6 717
1 707
6 697
21 687

output:

1898.7406829750

result:

ok found '1898.74068', expected '1898.74069', error '0.00000'

Test #67:

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

input:

10
897 85
351 1308
341 828
1 1158
331 808
1 458
351 788
701 458
371 808
701 1158
361 828

output:

7750.1640883784

result:

ok found '7750.16409', expected '7750.16411', error '0.00000'

Test #68:

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

input:

12
693 6
1 364
401 364
401 864
1 864
1 564
201 564
201 664
101 664
101 764
301 764
301 464
1 464

output:

5339.1918753474

result:

ok found '5339.19188', expected '5339.19188', error '0.00000'

Test #69:

score: 0
Accepted
time: 4ms
memory: 3964kb

input:

16
738 56
1 913
21 913
21 923
41 923
41 933
61 933
61 943
71 943
71 953
51 953
51 943
31 943
31 933
11 933
11 923
1 923

output:

10002.9399438902

result:

ok found '10002.93994', expected '10002.93994', error '0.00000'

Test #70:

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

input:

7
767 41
1 502
51 552
81 522
111 552
71 592
41 562
1 602

output:

7688.8556507558

result:

ok found '7688.85565', expected '7688.85565', error '0.00000'

Test #71:

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

input:

10
200 75
1 483
11 493
21 483
31 493
41 483
41 504
31 494
21 504
11 494
1 504

output:

1989.7732997389

result:

ok found '1989.77330', expected '1989.77330', error '0.00000'

Test #72:

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

input:

7
527 87
1 651
11 661
21 651
31 662
21 673
11 662
1 673

output:

6059.7744660698

result:

ok found '6059.77447', expected '6059.77447', error '0.00000'

Test #73:

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

input:

4
636 37
1 172
101 172
61 202
41 202

output:

3431.4102735939

result:

ok found '3431.41027', expected '3431.41027', error '0.00000'

Test #74:

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

input:

4
223 98
1 374
101 374
61 404
1 404

output:

1894.2607563124

result:

ok found '1894.26076', expected '1894.26077', error '0.00000'

Test #75:

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

input:

4
98 93
1 571
201 571
201 591
1 591

output:

1085.9455891969

result:

ok found '1085.94559', expected '1085.94556', error '0.00000'

Test #76:

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

input:

4
758 63
1 459
21 459
31 469
11 469

output:

7297.8715065076

result:

ok found '7297.87151', expected '7297.87151', error '0.00000'

Test #77:

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

input:

4
342 68
1 972
11 977
21 972
11 982

output:

4823.7682892846

result:

ok found '4823.76829', expected '4823.76829', error '0.00000'

Test #78:

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

input:

4
948 63
1 256
101 156
201 256
101 356

output:

5477.5971771974

result:

ok found '5477.59718', expected '5477.59719', error '0.00000'

Test #79:

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

input:

4
951 96
11 1014
1 1014
1 1004
11 1004

output:

13612.4754072495

result:

ok found '13612.47541', expected '13612.47541', error '0.00000'

Test #80:

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

input:

3
888 20
1 613
21 613
11 631

output:

9903.7199563080

result:

ok found '9903.71996', expected '9903.71996', error '0.00000'

Test #81:

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

input:

3
928 84
5 210
1 213
1 210

output:

6052.7107881371

result:

ok found '6052.71079', expected '6052.71079', error '0.00000'

Test #82:

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

input:

3
711 78
2018 4523
1 489
4035 2506

output:

3426.1616496164

result:

ok found '3426.16165', expected '3426.16240', error '0.00000'

Test #83:

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

input:

7
211 19
1 447
41 427
41 447
71 477
51 497
31 477
1 477

output:

2018.8093189584

result:

ok found '2018.80932', expected '2018.80932', error '0.00000'

Test #84:

score: -30
Dangerous Syscalls

input:

16
5 1
11 5
31 5
33 7
39 15
40 20
39 26
36 34
33 36
18 41
15 40
13 39
3 31
1 24
1 19
2 15
8 7

output:


result:


Subtask #3:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%