QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#637094#8091. HypnoCyber_PunkAC ✓69ms23388kbC++141.2kb2024-10-13 09:16:582024-10-13 09:16:58

詳細信息

Test #1:

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

input:

3 3
1 2
1 3
2 3

output:

1.5000000000

result:

ok found '1.500000000', expected '1.500000000', error '0.000000000'

Test #2:

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

input:

4 4
1 2
2 4
4 3
3 1

output:

2.8750000000

result:

ok found '2.875000000', expected '2.875000000', error '0.000000000'

Test #3:

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

input:

2 1
2 1

output:

1.5000000000

result:

ok found '1.500000000', expected '1.500000000', error '0.000000000'

Test #4:

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

input:

25 40
8 1
16 20
2 22
1 13
9 25
16 21
12 7
11 7
2 8
4 12
6 20
19 13
14 4
20 11
23 9
3 15
5 18
24 18
7 16
14 15
17 10
10 21
11 21
19 24
22 11
14 25
2 17
6 4
20 12
16 22
4 3
17 1
22 10
2 21
3 25
15 6
6 7
12 15
23 5
8 10

output:

11.9902343750

result:

ok found '11.990234375', expected '11.990234375', error '0.000000000'

Test #5:

score: 0
Accepted
time: 55ms
memory: 22868kb

input:

200000 199999
197158 182193
108214 100271
143031 191662
102543 170330
22342 111905
51555 105985
38965 15493
85493 173312
117661 83898
19679 178046
145782 35268
89844 109186
74642 67192
135019 102320
48177 197815
128206 45459
11405 105702
6883 87640
51956 20707
93181 86619
40763 12411
129321 62642
14...

output:

299998.5000000000

result:

ok found '299998.500000000', expected '299998.500000000', error '0.000000000'

Test #6:

score: 0
Accepted
time: 55ms
memory: 18692kb

input:

50002 199753
36147 32879
17677 29414
27179 26413
46974 8267
7863 8233
6519 33179
38082 24048
6503 24095
42138 17324
11884 41691
34548 35590
23362 49160
6130 45565
9582 2905
16457 46999
38046 24288
30879 36499
267 5375
10150 17979
19495 49811
34233 21546
1172 23094
37255 6454
45445 33820
36559 9517
2...

output:

6673.1135957419

result:

ok found '6673.113595742', expected '6673.113595742', error '0.000000000'

Test #7:

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

input:

3085 7273
3056 1272
1780 2634
1508 1580
85 1971
1468 913
2765 185
1345 1396
392 1019
2554 2458
1974 1575
2663 2388
569 1644
281 385
401 575
1580 2813
415 1585
1189 1170
1658 3081
9 1464
2819 1489
1422 1817
2726 1143
1205 452
991 722
1879 3027
933 683
1808 2156
221 2648
2488 2931
1255 1454
1317 2097
...

output:

709.3968963623

result:

ok found '709.396896362', expected '709.396896362', error '0.000000000'

Test #8:

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

input:

3091 7287
2046 2436
2332 144
346 1687
2868 2316
177 268
1452 2832
2400 1168
560 2777
2821 2677
1468 561
2346 2283
2690 2998
2091 3044
2497 197
1855 1252
1474 1968
715 374
852 645
1196 1168
990 1783
1339 932
1300 645
94 798
129 762
2149 243
1476 1164
660 701
2277 67
2688 2298
2124 2194
1750 103
1931 ...

output:

710.8651962280

result:

ok found '710.865196228', expected '710.865196228', error '0.000000000'

Test #9:

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

input:

3097 7301
1520 1628
1360 1654
2895 1499
746 787
2322 2579
3016 2415
3035 982
1404 2132
2544 604
751 787
3068 2303
2271 1850
1862 15
1567 2482
1269 117
2020 1374
1161 1096
1528 2519
1873 2029
530 2533
3043 650
634 2937
1271 970
2489 2472
1064 585
2036 2104
1746 3051
2919 708
809 1392
3094 31
2283 946...

output:

712.3334960938

result:

ok found '712.333496094', expected '712.333496094', error '0.000000000'

Test #10:

score: 0
Accepted
time: 55ms
memory: 22872kb

input:

200000 200000
73936 52310
23970 11954
32769 131557
48708 70894
80135 123296
124840 111064
8190 101709
12650 54175
60397 191496
190035 89807
20653 185332
9497 197980
137875 101180
190627 179306
185624 162761
7501 129957
189805 120027
117897 38215
143992 107602
128103 105023
14390 124008
137117 87974
...

output:

149999.8750000000

result:

ok found '149999.875000000', expected '149999.875000000', error '0.000000000'

Test #11:

score: 0
Accepted
time: 45ms
memory: 23388kb

input:

100002 200000
11946 100002
76762 100002
32961 100002
7738 1
29437 1
100002 60929
1 29961
46824 100002
13968 100002
100002 46723
36958 100002
1 15848
14551 1
99692 1
1 49341
49596 100002
1 60721
786 100002
35475 1
32467 100002
58519 100002
1 90657
1 49613
15804 100002
71908 100002
24067 100002
26636 ...

output:

2.8333333333

result:

ok found '2.833333333', expected '2.833333333', error '0.000000000'

Test #12:

score: 0
Accepted
time: 42ms
memory: 13808kb

input:

14268 199556
4792 12361
5408 6400
7912 4711
7938 3150
309 8185
7976 10543
606 4123
184 13818
3105 596
12237 4157
2358 8984
3727 5146
12298 10746
7332 11693
4004 4164
8790 6465
2720 4080
10946 5209
11609 5029
14071 3549
9150 6303
12645 594
8744 541
7 12314
1075 6787
5930 11406
2729 4033
14265 12107
3...

output:

1360.1666691974

result:

ok found '1360.166669197', expected '1360.166669197', error '0.000000000'

Test #13:

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

input:

67552 199671
5017 53913
14091 27050
21945 33248
2610 64018
18246 52118
36710 19902
36113 64210
1642 48321
39038 3296
18964 5353
51231 16873
4434 83
32202 62529
44817 17487
14867 752
52110 7335
26341 46705
61659 3960
20533 53073
49107 60942
28716 12620
63699 62648
3302 62535
30932 49284
67417 52844
2...

output:

10115.3184015846

result:

ok found '10115.318401585', expected '10115.318401585', error '0.000000000'

Test #14:

score: 0
Accepted
time: 53ms
memory: 19292kb

input:

62766 199999
18404 2564
50028 1
16240 62621
1 57948
3092 51772
43912 24248
56828 1
23000 22395
16746 46943
39226 28799
18046 50342
21977 54073
41182 5083
39280 59877
20034 11855
57137 60875
1 34565
26780 7391
23208 39926
46729 1
13638 24340
61869 42746
34797 4130
35283 19068
544 46789
9351 1
35890 3...

output:

11090.9261281093

result:

ok found '11090.926128109', expected '11090.926128109', error '0.000000000'

Test #15:

score: 0
Accepted
time: 53ms
memory: 17420kb

input:

62766 199962
22030 55215
15804 60911
25583 30027
10865 9107
11560 14111
39905 31292
53489 55914
62346 3824
3 3455
46002 21187
34794 15508
45156 5097
35173 29704
27587 9611
38869 25070
15806 33508
56847 6597
44454 4404
7825 1921
1 35984
15070 15619
59223 27071
44517 13972
27602 1041
22684 44021
35787...

output:

11091.1789577565

result:

ok found '11091.178957756', expected '11091.178957756', error '0.000000000'

Test #16:

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

input:

62766 199906
33130 45641
16585 39685
58280 36549
56343 26342
30267 27973
60985 20343
10674 50210
59339 11923
47621 29430
49628 7223
25487 11855
7113 38073
3051 47867
15994 11983
54780 10471
18834 5006
12634 62452
16895 52378
3183 25554
28371 10766
60896 45402
49067 37806
21555 50199
2330 60056
54200...

output:

11091.3150272550

result:

ok found '11091.315027255', expected '11091.315027255', error '0.000000000'

Test #17:

score: 0
Accepted
time: 44ms
memory: 17720kb

input:

64752 200000
47167 61061
62490 25282
61109 1645
37500 16937
23567 15931
11667 40931
13279 60627
36908 25433
16237 23063
62596 31781
21964 19491
4337 24339
29043 39837
42174 15030
24123 1
47366 23543
36583 36811
18992 29980
41946 16765
28758 57890
27358 41545
33892 55868
7437 56258
19176 16203
15885 ...

output:

10182.7129649719

result:

ok found '10182.712964972', expected '10182.712964972', error '0.000000000'

Test #18:

score: 0
Accepted
time: 56ms
memory: 15752kb

input:

64752 199944
36668 24994
22071 12308
39116 40211
29858 63480
52771 23881
47744 60664
47324 33328
8664 3971
48151 15389
16002 51710
2321 2541
51235 30037
37046 19094
46129 6620
46111 1148
11855 6314
22748 29379
9280 37150
10870 14504
48253 31064
6123 38305
50317 11760
9516 50572
19463 21417
13953 124...

output:

10183.0855123152

result:

ok found '10183.085512315', expected '10183.085512315', error '0.000000000'

Test #19:

score: 0
Accepted
time: 56ms
memory: 17716kb

input:

64731 199999
11355 1155
58869 3299
50960 53411
33137 63269
40026 28731
31080 28528
8280 45228
9959 1
1852 52619
1219 1508
22381 14827
26194 59285
42535 25137
57377 39129
63600 2038
32048 26932
58924 28223
26001 28596
11026 49607
11355 48159
59763 10978
36621 6759
46745 4398
54573 61248
22870 4748
37...

output:

10189.9071938594

result:

ok found '10189.907193859', expected '10189.907193859', error '0.000000000'

Test #20:

score: 0
Accepted
time: 57ms
memory: 17604kb

input:

64731 199812
8120 16564
48136 17789
56751 18542
28611 15351
43875 51234
27794 41384
3246 6754
48888 37786
14001 40151
30727 13260
11517 34539
31725 54422
60566 40364
50854 62695
1253 12656
10279 61866
24430 5291
20435 19828
54168 28363
44256 61015
31035 38555
23964 38992
8318 17930
22933 58148
62407...

output:

10190.0524263848

result:

ok found '10190.052426385', expected '10190.052426385', error '0.000000000'

Test #21:

score: 0
Accepted
time: 52ms
memory: 18660kb

input:

67528 200000
27086 9982
26373 51765
50655 48128
58040 24744
1451 62079
42772 62898
20541 10442
14758 65057
54529 10159
35219 28217
53572 1138
61039 14586
6468 52671
7637 33110
31732 2980
15159 27751
29399 28245
11104 55926
9263 12024
41151 17960
18474 53602
43943 11688
276 60032
40851 33407
27819 43...

output:

12245.0174420675

result:

ok found '12245.017442067', expected '12245.017442067', error '0.000000000'

Test #22:

score: 0
Accepted
time: 52ms
memory: 17748kb

input:

67528 199760
32836 21244
31377 27147
66934 41989
40580 32342
6367 31995
60905 43520
46605 880
20979 33940
4928 3027
48776 48271
13965 43623
21164 38574
1814 49910
64799 66473
52944 53624
35642 62110
33384 59921
56670 32071
19360 43748
21582 63491
33008 25161
32261 44724
5599 43741
48290 65314
9232 2...

output:

12247.4982894135

result:

ok found '12247.498289413', expected '12247.498289414', error '0.000000000'

Test #23:

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

input:

100 555
13 90
32 70
41 47
76 9
51 88
90 69
54 90
63 3
17 26
82 88
90 63
86 11
44 49
84 39
87 31
100 44
74 46
26 77
43 45
3 66
80 44
40 26
93 82
93 61
14 58
93 14
75 48
69 8
65 97
51 58
43 10
82 58
17 13
27 57
97 67
61 88
26 100
43 15
95 96
41 75
11 58
72 41
28 94
16 40
3 17
35 65
97 91
19 56
63 89
5...

output:

20.0084696876

result:

ok found '20.008469688', expected '20.008469688', error '0.000000000'

Test #24:

score: 0
Accepted
time: 69ms
memory: 23104kb

input:

200000 200000
192168 46078
176368 78345
141892 190083
38896 145342
172834 16885
17051 162447
193142 16284
76029 61102
33631 162469
153526 15114
116389 155844
157034 132613
40907 81635
39139 29243
54027 41190
54698 115768
59466 60130
58286 95271
111767 119836
199504 156715
169077 68208
74942 192099
8...

output:

181.5000000000

result:

ok found '181.500000000', expected '181.500000000', error '0.000000000'

Test #25:

score: 0
Accepted
time: 24ms
memory: 14256kb

input:

660 200000
542 430
291 461
419 323
509 463
117 237
405 28
66 484
351 136
248 392
193 457
630 12
155 57
92 12
388 59
173 564
561 378
391 186
458 353
468 584
274 586
643 587
61 616
313 175
6 272
15 437
522 490
595 586
383 222
451 327
490 68
523 287
369 52
303 134
546 631
319 361
396 562
628 470
344 23...

output:

1.5000000000

result:

ok found '1.500000000', expected '1.500000000', error '0.000000000'

Test #26:

score: 0
Accepted
time: 61ms
memory: 19644kb

input:

30000 200000
28198 29612
2003 9396
2947 14669
16282 739
22135 14623
3453 7748
29122 15353
16439 17001
8924 6163
11538 860
29404 22884
26983 15591
13808 20977
19761 22620
12207 19750
2242 18024
25665 1788
21454 29469
17518 6237
16321 25884
23467 14339
25523 5247
1243 64
11386 24351
3022 29836
29208 2...

output:

2.8437500000

result:

ok found '2.843750000', expected '2.843750000', error '0.000000000'

Test #27:

score: 0
Accepted
time: 53ms
memory: 21324kb

input:

30000 200000
3635 4269
17722 6188
21076 26960
15673 9406
27999 25510
7056 8457
17092 10046
5140 14891
12408 28841
29575 20061
22929 4066
4429 7251
13833 27510
7426 14170
13934 24901
10659 29028
3963 21435
2771 15968
18069 14783
1601 6924
29180 22978
1783 22987
11726 4747
29314 16190
5068 10878
19564...

output:

4.1868489583

result:

ok found '4.186848958', expected '4.186848958', error '0.000000000'

Test #28:

score: 0
Accepted
time: 57ms
memory: 20400kb

input:

30000 200000
19278 11038
4525 12608
19655 509
7630 18162
25414 5209
21376 16385
24179 998
503 4982
881 28705
2093 29601
20285 28457
4284 8143
10135 3066
12059 28928
16037 14532
9219 23218
24890 7751
12450 4841
21630 16026
1712 29867
3146 20156
12319 21599
27632 565
636 28369
3324 11897
23412 23149
5...

output:

4.3333333333

result:

ok found '4.333333333', expected '4.333333333', error '0.000000000'

Test #29:

score: 0
Accepted
time: 51ms
memory: 20084kb

input:

30000 200000
12363 26259
7415 26442
4968 21600
2352 342
2129 5551
6798 11016
1218 19599
21673 27780
28664 14739
21884 12836
9966 29964
15291 16843
13438 7843
20806 10431
11878 7457
21212 11817
14576 5771
15258 10348
26706 15846
13147 18452
12622 10782
4372 20686
9884 14040
9357 10880
21887 5714
1935...

output:

4.2397155762

result:

ok found '4.239715576', expected '4.239715576', error '0.000000000'

Test #30:

score: 0
Accepted
time: 42ms
memory: 20840kb

input:

30000 200000
29367 28618
12627 20234
22466 3437
18663 9056
12605 8712
11500 5312
3 1439
5023 5285
28230 20599
26388 9196
23349 5684
14036 475
17524 9785
8530 21866
10474 7336
29331 29892
22151 25316
13063 17233
9703 8523
5552 8653
2928 27180
2848 28257
19512 8567
21672 28465
22597 13485
21810 6650
1...

output:

4.3333333731

result:

ok found '4.333333373', expected '4.333333373', error '0.000000000'

Test #31:

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

input:

30000 200000
1922 15356
8598 19794
27838 23616
15371 3891
18359 14842
11218 6994
3289 10208
20896 12751
19578 14612
18560 6392
24005 11384
1393 22269
13272 19911
27721 17299
20750 1090
28013 181
9820 3687
20392 16302
12796 2413
12343 25467
16566 7026
4308 28754
8317 12783
28354 25697
22377 12302
263...

output:

15.8017777366

result:

ok found '15.801777737', expected '15.801777737', error '0.000000000'

Test #32:

score: 0
Accepted
time: 53ms
memory: 17308kb

input:

30000 200000
7846 15464
18580 13803
2971 19577
9496 3604
11370 14015
22408 27803
25637 18637
21293 4123
3013 8302
5429 8491
27150 7571
4240 14904
14394 25615
17123 9236
7561 27253
3270 3749
5758 17112
24155 24280
4027 11756
24092 2155
21516 396
21645 28317
26049 3050
27236 11335
20543 25842
29171 19...

output:

21.0000000000

result:

ok found '21.000000000', expected '21.000000000', error '0.000000000'

Test #33:

score: 0
Accepted
time: 56ms
memory: 17368kb

input:

30000 200000
3275 22926
6375 7031
19103 12219
12865 20236
14102 22100
14013 9694
9339 8589
16046 6878
27222 15370
3939 20082
10131 3767
22756 26625
22374 13028
19514 14687
36 21540
24980 2739
18613 27154
23456 12056
25840 28341
4985 20491
28029 15731
18934 2250
6633 1137
10670 11427
11172 18668
1335...

output:

30.6058995162

result:

ok found '30.605899516', expected '30.605899516', error '0.000000000'

Test #34:

score: 0
Accepted
time: 55ms
memory: 16212kb

input:

30000 200000
27703 25509
3678 27596
5240 123
29181 7482
9768 23742
18436 2671
15883 16431
16223 18532
26741 21543
17474 25403
17481 22265
16122 12384
4915 500
25293 7225
9346 16227
16444 1012
1540 24943
23603 16129
4290 7478
26559 5365
24144 574
21328 2227
24983 26591
11869 17587
1484 12767
23570 15...

output:

48.4309720861

result:

ok found '48.430972086', expected '48.430972086', error '0.000000000'

Test #35:

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

input:

30000 200000
22551 22272
16624 4286
26671 1226
29420 25274
25006 29388
3200 27501
12694 28664
16189 12778
16737 2305
7777 16536
2226 19495
27268 8351
10922 6925
9282 738
25321 27768
6473 1552
24120 10420
27234 18745
13771 23890
12042 25091
13689 27895
20903 6113
2243 19882
24114 23009
12687 1567
102...

output:

62.3727314901

result:

ok found '62.372731490', expected '62.372731490', error '0.000000000'

Test #36:

score: 0
Accepted
time: 47ms
memory: 15196kb

input:

30000 200000
7496 13822
4288 18183
8759 11945
8729 313
4625 2805
11667 18677
12163 4060
5706 6095
3541 25020
16062 12099
18475 21117
18583 28141
16095 25746
3919 11904
25025 27312
25972 7553
7482 14504
14421 7885
6892 19579
29543 28797
19499 22180
12990 19922
8060 18624
11978 16615
1554 18101
19022 ...

output:

94.8698287010

result:

ok found '94.869828701', expected '94.869828701', error '0.000000000'

Test #37:

score: 0
Accepted
time: 47ms
memory: 14708kb

input:

30000 200000
8748 3221
26111 16657
10662 21070
4283 26228
1418 26704
11081 5734
1978 21091
14192 11489
28583 11758
26250 21740
17236 4159
8391 15582
11412 26190
2767 11909
15133 18624
4163 11632
16685 9133
15476 10099
15440 9848
21227 11449
8324 15452
12307 18653
23485 4081
5736 10997
5471 249
24087...

output:

315.7478936773

result:

ok found '315.747893677', expected '315.747893677', error '0.000000000'

Test #38:

score: 0
Accepted
time: 46ms
memory: 15948kb

input:

30000 200000
15590 3767
5241 3152
9928 4778
1699 21659
19085 23903
25580 30000
11749 4877
4495 6892
10607 15791
16543 2039
7260 24961
14417 3924
5338 4211
4858 7063
745 4536
8776 10871
20880 26752
29696 19198
29171 17533
25693 12679
13370 8308
9086 19783
4651 5195
8711 5119
20371 14976
24385 26310
1...

output:

840.3070140879

result:

ok found '840.307014088', expected '840.307014088', error '0.000000000'

Test #39:

score: 0
Accepted
time: 46ms
memory: 17496kb

input:

20000 200000
8576 7214
10630 9122
6000 8586
9621 8002
13070 8220
5928 7689
4822 262
19072 5444
4562 6711
1523 7129
942 3953
1676 17885
3789 5059
1900 10727
19730 13759
14223 9783
15324 4743
9579 19885
1706 18643
10593 4001
13942 17496
11226 2692
13592 14767
3725 6298
12993 7673
6805 12530
504 4092
1...

output:

42.2537703991

result:

ok found '42.253770399', expected '42.253770399', error '0.000000000'

Test #40:

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

input:

6002 24076
2270 3387
3153 2623
3230 1957
3693 4865
218 2957
3679 1000
380 5842
3537 2954
4645 4860
3322 1490
4304 643
3361 5684
2031 4351
1416 2402
1910 4812
3856 4242
5202 1102
4194 49
385 1189
3284 4972
229 3821
3671 1338
2089 2750
715 321
2551 1247
4444 1306
5525 5040
1373 271
5287 1770
5569 3172...

output:

161.5728584106

result:

ok found '161.572858411', expected '161.572858411', error '0.000000000'

Test #41:

score: 0
Accepted
time: 48ms
memory: 14440kb

input:

24002 190998
8980 22660
11528 18351
4204 1334
7711 14865
651 2558
5799 7278
18923 8576
14421 20286
1159 13101
8370 12170
18478 9417
20166 23837
14160 5989
15649 7353
14831 13892
10355 7391
16490 14800
13007 12759
9304 6434
20730 20117
23872 678
12378 17617
8772 1267
9972 23112
22104 12375
9604 11861...

output:

161.5000177542

result:

ok found '161.500017754', expected '161.500017754', error '0.000000000'

Test #42:

score: 0
Accepted
time: 60ms
memory: 15052kb

input:

34562 198172
14077 32341
2611 1401
10391 23075
27365 10893
32683 7418
725 13855
11157 6348
25313 3301
25575 20049
7517 28697
15511 428
8713 9595
18958 11315
8670 25525
27081 11145
17571 26382
5865 25612
32563 22998
13743 14395
20763 24703
15416 26276
9271 11232
2787 2606
15288 8275
13868 17540
27133...

output:

161.5016135553

result:

ok found '161.501613555', expected '161.501613555', error '0.000000000'

Test #43:

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

input:

402 4004
313 371
289 32
256 310
241 161
321 341
24 351
364 179
292 193
153 246
189 9
58 231
342 343
286 19
22 55
300 129
204 268
243 245
173 93
135 313
325 63
21 74
102 178
284 210
214 210
262 360
51 224
351 38
316 272
395 353
393 246
16 249
379 306
385 241
184 385
103 119
392 173
395 71
48 22
301 2...

output:

17.0831247194

result:

ok found '17.083124719', expected '17.083124719', error '0.000000000'

Test #44:

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

input:

402 4004
107 318
167 353
400 384
115 196
144 348
71 397
14 398
77 238
273 152
19 380
304 365
148 139
110 53
16 9
112 26
244 386
154 35
207 255
338 54
3 313
149 106
133 384
122 35
147 270
392 43
348 255
236 398
44 220
103 387
16 340
80 253
241 69
240 52
172 248
306 373
42 53
83 49
307 12
274 99
390 2...

output:

16.3436721906

result:

ok found '16.343672191', expected '16.343672191', error '0.000000000'

Test #45:

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

input:

2002 30004
1351 1382
524 1718
1566 420
1278 1699
245 843
1475 462
1178 1926
679 1372
1754 1300
1014 1979
754 1128
576 1588
248 688
23 1037
1922 952
1893 1149
1619 992
994 1900
1318 1139
1510 1690
1576 913
1021 8
735 500
1946 1593
1524 695
882 276
413 746
1482 44
1857 1796
142 937
1592 626
1730 1232
...

output:

21.9375239561

result:

ok found '21.937523956', expected '21.937523956', error '0.000000000'

Test #46:

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

input:

4002 60004
881 2481
1008 700
256 3203
3940 1491
3564 794
3891 533
1227 748
826 1237
1085 3587
1865 2799
3857 3275
1222 2114
2666 2962
2309 514
1735 156
2447 3638
2803 547
1044 823
3928 3695
2468 358
618 156
2963 65
1032 3125
3230 3303
2566 2086
2388 3753
2483 1808
509 1668
1157 2588
2338 3608
1881 2...

output:

29.9579731000

result:

ok found '29.957973100', expected '29.957973100', error '0.000000000'