QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#41850#1781. Joint Jog JamZhangYiDeAC ✓3ms3856kbC++141014b2022-08-01 13:41:142022-08-01 13:41:15

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3704kb

input:

6341 4789 1787 7737 3074 8627 347 3128

output:

6138.039589315

result:

ok found '6138.0395893', expected '6138.0395893', error '0.0000000'

Test #2:

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

input:

8306 8911 8306 8911 5953 8206 7810 2265

output:

6224.462225767

result:

ok found '6224.4622258', expected '6224.4622258', error '0.0000000'

Test #3:

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

input:

5248 4399 3402 6077 3545 4416 3545 4416

output:

2494.674327442

result:

ok found '2494.6743274', expected '2494.6743274', error '0.0000000'

Test #4:

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

input:

6698 6016 4986 1397 4986 1397 8126 7944

output:

7261.047376240

result:

ok found '7261.0473762', expected '7261.0473762', error '0.0000000'

Test #5:

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

input:

309 5619 931 4437 931 4437 6143 9730

output:

7428.377548294

result:

ok found '7428.3775483', expected '7428.3775483', error '0.0000000'

Test #6:

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

input:

7620 9736 6864 9295 7620 9736 6864 9295

output:

875.223971335

result:

ok found '875.2239713', expected '875.2239713', error '0.0000000'

Test #7:

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

input:

2832 1324 2820 6401 1594 6090 6976 6688

output:

5415.120312606

result:

ok found '5415.1203126', expected '5415.1203126', error '0.0000000'

Test #8:

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

input:

4041 7446 4041 7446 1595 1821 9801 8346

output:

10483.990700110

result:

ok found '10483.9907001', expected '10483.9907001', error '0.0000000'

Test #9:

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

input:

1421 1120 6073 7271 9893 5414 9893 5414

output:

7712.062305246

result:

ok found '7712.0623052', expected '7712.0623052', error '0.0000000'

Test #10:

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

input:

516 6917 7220 3124 7220 3124 7789 5412

output:

7702.627149226

result:

ok found '7702.6271492', expected '7702.6271492', error '0.0000000'

Test #11:

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

input:

8209 6363 6812 7512 6812 7512 6906 9850

output:

2339.888886251

result:

ok found '2339.8888863', expected '2339.8888863', error '0.0000000'

Test #12:

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

input:

9147 2208 1899 5784 9147 2208 1899 5784

output:

8082.158127629

result:

ok found '8082.1581276', expected '8082.1581276', error '0.0000000'

Test #13:

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

input:

2945 5437 4228 8436 187 2320 8837 921

output:

8762.402695608

result:

ok found '8762.4026956', expected '8762.4026956', error '0.0000000'

Test #14:

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

input:

30 2151 30 2151 6055 2731 2649 8205

output:

6447.132075582

result:

ok found '6447.1320756', expected '6447.1320756', error '0.0000000'

Test #15:

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

input:

687 7817 8105 9795 4932 6909 4932 6909

output:

7677.187505851

result:

ok found '7677.1875059', expected '7677.1875059', error '0.0000000'

Test #16:

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

input:

9282 9827 8239 5906 8239 5906 9232 7955

output:

4057.350120460

result:

ok found '4057.3501205', expected '4057.3501205', error '0.0000000'

Test #17:

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

input:

9848 6177 54 5596 54 5596 680 8173

output:

9811.217916243

result:

ok found '9811.2179162', expected '9811.2179162', error '0.0000000'

Test #18:

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

input:

700 5458 7727 7673 700 5458 7727 7673

output:

7367.832381372

result:

ok found '7367.8323814', expected '7367.8323814', error '0.0000000'

Test #19:

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

input:

831 1247 8982 8179 9631 6313 6357 7254

output:

10700.066588578

result:

ok found '10700.0665886', expected '10700.0665886', error '0.0000000'

Test #20:

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

input:

8973 4023 8973 4023 6905 7628 7712 5286

output:

2477.138066398

result:

ok found '2477.1380664', expected '2477.1380664', error '0.0000000'

Test #21:

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

input:

2148 2841 6882 627 7536 1351 7536 1351

output:

5226.141215084

result:

ok found '5226.1412151', expected '5226.1412151', error '0.0000000'

Test #22:

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

input:

2675 2674 5729 6548 5729 6548 8636 4819

output:

4933.030711439

result:

ok found '4933.0307114', expected '4933.0307114', error '0.0000000'

Test #23:

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

input:

4753 2036 870 418 870 418 5382 6022

output:

7194.648010848

result:

ok found '7194.6480108', expected '7194.6480108', error '0.0000000'

Test #24:

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

input:

8243 3651 3693 2486 8243 3651 3693 2486

output:

4696.778151031

result:

ok found '4696.7781510', expected '4696.7781510', error '0.0000000'

Test #25:

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

input:

989 2849 6803 8319 4817 3260 3337 4005

output:

7982.699793929

result:

ok found '7982.6997939', expected '7982.6997939', error '0.0000000'

Test #26:

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

input:

5000 2614 5000 2614 54 3582 1722 8855

output:

5530.529179021

result:

ok found '5530.5291790', expected '5530.5291790', error '0.0000000'

Test #27:

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

input:

9512 2313 1623 8838 4639 8790 4639 8790

output:

10237.770558085

result:

ok found '10237.7705581', expected '10237.7705581', error '0.0000000'

Test #28:

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

input:

8108 6868 8859 2824 8859 2824 4155 2530

output:

4713.178545313

result:

ok found '4713.1785453', expected '4713.1785453', error '0.0000000'

Test #29:

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

input:

8968 8132 7931 7353 7931 7353 2016 8554

output:

6035.695983066

result:

ok found '6035.6959831', expected '6035.6959831', error '0.0000000'

Test #30:

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

input:

9037 6561 44 7763 9037 6561 44 7763

output:

9072.973768286

result:

ok found '9072.9737683', expected '9072.9737683', error '0.0000000'

Test #31:

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

input:

5035 8317 7561 9349 632 8830 9845 9495

output:

9236.968875123

result:

ok found '9236.9688751', expected '9236.9688751', error '0.0000000'

Test #32:

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

input:

726 6185 726 6185 3208 6068 1568 2763

output:

3689.529102745

result:

ok found '3689.5291027', expected '3689.5291027', error '0.0000000'

Test #33:

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

input:

3682 6468 539 6143 807 9155 807 9155

output:

3159.758535078

result:

ok found '3159.7585351', expected '3159.7585351', error '0.0000000'

Test #34:

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

input:

3339 2273 573 118 573 118 6301 9372

output:

10883.312914733

result:

ok found '10883.3129147', expected '10883.3129147', error '0.0000000'

Test #35:

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

input:

9181 4377 1634 6923 1634 6923 5426 7177

output:

7964.880727293

result:

ok found '7964.8807273', expected '7964.8807273', error '0.0000000'

Test #36:

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

input:

4234 9717 6920 4555 4234 9717 6920 4555

output:

5819.006788104

result:

ok found '5819.0067881', expected '5819.0067881', error '0.0000000'

Test #37:

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

input:

5815 4990 7189 8317 8644 3587 2423 1235

output:

6650.770256143

result:

ok found '6650.7702561', expected '6650.7702561', error '0.0000000'

Test #38:

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

input:

1161 3353 1161 3353 6090 7574 6755 569

output:

7036.494155473

result:

ok found '7036.4941555', expected '7036.4941555', error '0.0000000'

Test #39:

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

input:

9568 490 3449 8116 6554 9226 6554 9226

output:

9777.424865475

result:

ok found '9777.4248655', expected '9777.4248655', error '0.0000000'

Test #40:

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

input:

1684 7949 5208 7573 5208 7573 1073 1385

output:

7442.416878945

result:

ok found '7442.4168789', expected '7442.4168789', error '0.0000000'

Test #41:

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

input:

1128 1579 963 536 963 536 3633 527

output:

2670.015168496

result:

ok found '2670.0151685', expected '2670.0151685', error '0.0000000'

Test #42:

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

input:

4141 6505 4327 5753 4141 6505 4327 5753

output:

774.661216275

result:

ok found '774.6612163', expected '774.6612163', error '0.0000000'

Test #43:

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

input:

4204 2452 835 6550 4605 1882 5068 5558

output:

5305.069745065

result:

ok found '5305.0697451', expected '5305.0697451', error '0.0000000'

Test #44:

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

input:

5040 5468 5040 5468 7612 1861 9909 7564

output:

6148.204453334

result:

ok found '6148.2044533', expected '6148.2044533', error '0.0000000'

Test #45:

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

input:

2257 4431 6299 8834 7400 3745 7400 3745

output:

5976.970219099

result:

ok found '5976.9702191', expected '5976.9702191', error '0.0000000'

Test #46:

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

input:

3156 8381 2894 7130 2894 7130 736 8066

output:

2352.245735462

result:

ok found '2352.2457355', expected '2352.2457355', error '0.0000000'

Test #47:

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

input:

8498 955 763 7662 763 7662 2710 9816

output:

10237.874486435

result:

ok found '10237.8744864', expected '10237.8744864', error '0.0000000'

Test #48:

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

input:

126 3639 1986 6867 126 3639 1986 6867

output:

3725.531371496

result:

ok found '3725.5313715', expected '3725.5313715', error '0.0000000'

Test #49:

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

input:

8910 5983 3692 902 3691 7920 6373 5978

output:

7283.137030154

result:

ok found '7283.1370302', expected '7283.1370302', error '0.0000000'

Test #50:

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

input:

7755 9476 7755 9476 2938 1429 1235 5946

output:

4827.369677164

result:

ok found '4827.3696772', expected '4827.3696772', error '0.0000000'

Test #51:

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

input:

9611 4444 7640 2758 6008 5349 6008 5349

output:

2593.730325227

result:

ok found '2593.7303252', expected '2593.7303252', error '0.0000000'

Test #52:

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

input:

9670 85 4211 3241 4211 3241 3200 7095

output:

6305.633750861

result:

ok found '6305.6337509', expected '6305.6337509', error '0.0000000'

Test #53:

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

input:

3439 5092 315 2977 315 2977 5474 3136

output:

5161.449602583

result:

ok found '5161.4496026', expected '5161.4496026', error '0.0000000'

Test #54:

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

input:

7895 8770 9632 7244 7895 8770 9632 7244

output:

2312.108345212

result:

ok found '2312.1083452', expected '2312.1083452', error '0.0000000'

Test #55:

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

input:

233 3047 1950 6612 1928 1868 5407 8622

output:

7597.365135361

result:

ok found '7597.3651354', expected '7597.3651354', error '0.0000000'

Test #56:

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

input:

753 3327 753 3327 8815 9153 7801 4311

output:

4947.035475919

result:

ok found '4947.0354759', expected '4947.0354759', error '0.0000000'

Test #57:

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

input:

2149 6810 6800 7345 5207 5603 5207 5603

output:

4681.669146789

result:

ok found '4681.6691468', expected '4681.6691468', error '0.0000000'

Test #58:

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

input:

7230 2383 174 1876 174 1876 6188 2933

output:

7074.191473236

result:

ok found '7074.1914732', expected '7074.1914732', error '0.0000000'

Test #59:

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

input:

2744 8461 7620 8279 7620 8279 6744 6289

output:

4879.395454357

result:

ok found '4879.3954544', expected '4879.3954544', error '0.0000000'

Test #60:

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

input:

728 1471 619 9889 728 1471 619 9889

output:

8418.705660611

result:

ok found '8418.7056606', expected '8418.7056606', error '0.0000000'

Test #61:

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

input:

4246 4618 24 7259 1813 6620 379 3623

output:

4979.976405567

result:

ok found '4979.9764056', expected '4979.9764056', error '0.0000000'

Test #62:

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

input:

1818 614 1818 614 4383 9324 1879 2894

output:

6900.356222689

result:

ok found '6900.3562227', expected '6900.3562227', error '0.0000000'

Test #63:

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

input:

4232 8744 3238 7751 2771 6516 2771 6516

output:

1405.021352151

result:

ok found '1405.0213522', expected '1405.0213522', error '0.0000000'

Test #64:

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

input:

6816 7329 3287 7544 3287 7544 7921 9611

output:

5074.095485897

result:

ok found '5074.0954859', expected '5074.0954859', error '0.0000000'

Test #65:

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

input:

8542 9379 3445 725 3445 725 3102 705

output:

10043.461803581

result:

ok found '10043.4618036', expected '10043.4618036', error '0.0000000'

Test #66:

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

input:

5120 2153 9076 8546 5120 2153 9076 8546

output:

7518.004056929

result:

ok found '7518.0040569', expected '7518.0040569', error '0.0000000'

Test #67:

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

input:

891 1606 7731 1521 750 3295 5665 2089

output:

6840.528122886

result:

ok found '6840.5281229', expected '6840.5281229', error '0.0000000'

Test #68:

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

input:

272 1515 272 1515 5989 7629 3838 5257

output:

3202.059493514

result:

ok found '3202.0594935', expected '3202.0594935', error '0.0000000'

Test #69:

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

input:

626 5435 2810 1991 345 8563 345 8563

output:

4078.111327563

result:

ok found '4078.1113276', expected '4078.1113276', error '0.0000000'

Test #70:

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

input:

1270 2635 5127 7905 5127 7905 8244 629

output:

7915.545780298

result:

ok found '7915.5457803', expected '7915.5457803', error '0.0000000'

Test #71:

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

input:

2546 6136 6065 5785 6065 5785 1697 2096

output:

5717.354720498

result:

ok found '5717.3547205', expected '5717.3547205', error '0.0000000'

Test #72:

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

input:

748 7324 4616 6815 748 7324 4616 6815

output:

3901.346562406

result:

ok found '3901.3465624', expected '3901.3465624', error '0.0000000'

Test #73:

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

input:

1273 5193 3473 1481 5751 1882 7905 8278

output:

6748.965254022

result:

ok found '6748.9652540', expected '6748.9652540', error '0.0000000'

Test #74:

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

input:

7232 6036 7232 6036 7448 9462 7296 2252

output:

7211.602041156

result:

ok found '7211.6020412', expected '7211.6020412', error '0.0000000'

Test #75:

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

input:

2928 1809 883 7079 1690 1054 1690 1054

output:

5652.868740737

result:

ok found '5652.8687407', expected '5652.8687407', error '0.0000000'

Test #76:

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

input:

2602 5747 5130 3258 5130 3258 2232 3086

output:

3547.661906101

result:

ok found '3547.6619061', expected '3547.6619061', error '0.0000000'

Test #77:

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

input:

498 6776 5844 1680 5844 1680 2919 7169

output:

7385.724879793

result:

ok found '7385.7248798', expected '7385.7248798', error '0.0000000'

Test #78:

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

input:

6089 9622 7669 9967 6089 9622 7669 9967

output:

1617.227565929

result:

ok found '1617.2275659', expected '1617.2275659', error '0.0000000'

Test #79:

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

input:

5042 1120 1686 3425 4142 871 1154 4602

output:

4780.010983251

result:

ok found '4780.0109833', expected '4780.0109833', error '0.0000000'

Test #80:

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

input:

1367 8923 1367 8923 9625 3561 2911 9243

output:

8795.619364206

result:

ok found '8795.6193642', expected '8795.6193642', error '0.0000000'

Test #81:

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

input:

984 1978 9744 4404 9459 2343 9459 2343

output:

9089.723648164

result:

ok found '9089.7236482', expected '9089.7236482', error '0.0000000'

Test #82:

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

input:

3189 6830 3886 8511 3886 8511 6715 3747

output:

5540.662144546

result:

ok found '5540.6621445', expected '5540.6621445', error '0.0000000'

Test #83:

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

input:

7953 8650 5038 8611 5038 8611 8726 2046

output:

7529.978021216

result:

ok found '7529.9780212', expected '7529.9780212', error '0.0000000'

Test #84:

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

input:

5806 6870 7894 4462 5806 6870 7894 4462

output:

3187.194377505

result:

ok found '3187.1943775', expected '3187.1943775', error '0.0000000'

Test #85:

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

input:

3524 729 5006 7620 2209 1907 5397 2097

output:

7048.560491334

result:

ok found '7048.5604913', expected '7048.5604913', error '0.0000000'

Test #86:

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

input:

4364 7956 4364 7956 3007 5705 6279 2072

output:

4889.240534071

result:

ok found '4889.2405341', expected '4889.2405341', error '0.0000000'

Test #87:

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

input:

8451 8416 2304 3388 6431 5332 6431 5332

output:

7941.435197746

result:

ok found '7941.4351977', expected '7941.4351977', error '0.0000000'

Test #88:

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

input:

3215 560 8308 1520 8308 1520 4278 9723

output:

9139.480783940

result:

ok found '9139.4807839', expected '9139.4807839', error '0.0000000'

Test #89:

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

input:

5555 5549 2539 7223 2539 7223 8615 4483

output:

6665.236379904

result:

ok found '6665.2363799', expected '6665.2363799', error '0.0000000'

Test #90:

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

input:

1133 1126 527 4924 1133 1126 527 4924

output:

3846.042121454

result:

ok found '3846.0421215', expected '3846.0421215', error '0.0000000'

Test #91:

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

input:

6443 7141 4055 2804 2646 3058 4204 5168

output:

4950.970914881

result:

ok found '4950.9709149', expected '4950.9709149', error '0.0000000'

Test #92:

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

input:

8714 7547 8714 7547 3440 4149 3006 7669

output:

3546.654197973

result:

ok found '3546.6541980', expected '3546.6541980', error '0.0000000'

Test #93:

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

input:

6661 6695 1644 6151 8667 7662 8667 7662

output:

5046.407137757

result:

ok found '5046.4071378', expected '5046.4071378', error '0.0000000'

Test #94:

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

input:

6532 7859 3890 3213 3890 3213 3353 3993

output:

5344.668371377

result:

ok found '5344.6683714', expected '5344.6683714', error '0.0000000'

Test #95:

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

input:

4567 7388 2561 8979 2561 8979 4377 1148

output:

8038.806938844

result:

ok found '8038.8069388', expected '8038.8069388', error '0.0000000'

Test #96:

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

input:

9020 5536 334 9443 9020 5536 334 9443

output:

9524.245114443

result:

ok found '9524.2451144', expected '9524.2451144', error '0.0000000'

Test #97:

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

input:

4711 2021 4711 2021 9999 10000 9999 10000

output:

0.000000000

result:

ok found '0.0000000', expected '0.0000000', error '-0.0000000'

Test #98:

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

input:

4711 2021 9999 10000 9999 10000 4711 2021

output:

9572.219439608

result:

ok found '9572.2194396', expected '9572.2194396', error '0.0000000'

Test #99:

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

input:

0 0 10000 10000 5000 5000 5000 5000

output:

14142.135623731

result:

ok found '14142.1356237', expected '14142.1356237', error '0.0000000'