QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#41887#1781. Joint Jog JamZhaoZiLongAC ✓2ms3924kbC++171.4kb2022-08-01 13:55:172022-08-01 13:55:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6341 4789 1787 7737 3074 8627 347 3128

output:

6138.0395893151

result:

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

Test #2:

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

input:

8306 8911 8306 8911 5953 8206 7810 2265

output:

6224.4622257670

result:

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

Test #3:

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

input:

5248 4399 3402 6077 3545 4416 3545 4416

output:

2494.6741018297

result:

ok found '2494.6741018', expected '2494.6743274', error '0.0000001'

Test #4:

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

input:

6698 6016 4986 1397 4986 1397 8126 7944

output:

7261.0473762399

result:

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

Test #5:

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

input:

309 5619 931 4437 931 4437 6143 9730

output:

7428.3775482941

result:

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

Test #6:

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

input:

7620 9736 6864 9295 7620 9736 6864 9295

output:

875.2239713353

result:

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

Test #7:

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

input:

2832 1324 2820 6401 1594 6090 6976 6688

output:

5415.1203126062

result:

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

Test #8:

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

input:

4041 7446 4041 7446 1595 1821 9801 8346

output:

10483.9907001103

result:

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

Test #9:

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

input:

1421 1120 6073 7271 9893 5414 9893 5414

output:

7712.0616077849

result:

ok found '7712.0616078', expected '7712.0623052', error '0.0000001'

Test #10:

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

input:

516 6917 7220 3124 7220 3124 7789 5412

output:

7702.6271492264

result:

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

Test #11:

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

input:

8209 6363 6812 7512 6812 7512 6906 9850

output:

2339.8888862508

result:

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

Test #12:

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

input:

9147 2208 1899 5784 9147 2208 1899 5784

output:

8082.1581276290

result:

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

Test #13:

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

input:

2945 5437 4228 8436 187 2320 8837 921

output:

8762.4026956081

result:

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

Test #14:

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

input:

30 2151 30 2151 6055 2731 2649 8205

output:

6447.1320755821

result:

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

Test #15:

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

input:

687 7817 8105 9795 4932 6909 4932 6909

output:

7677.1868115440

result:

ok found '7677.1868115', expected '7677.1875059', error '0.0000001'

Test #16:

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

input:

9282 9827 8239 5906 8239 5906 9232 7955

output:

4057.3501204604

result:

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

Test #17:

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

input:

9848 6177 54 5596 54 5596 680 8173

output:

9811.2179162426

result:

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

Test #18:

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

input:

700 5458 7727 7673 700 5458 7727 7673

output:

7367.8323813724

result:

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

Test #19:

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

input:

831 1247 8982 8179 9631 6313 6357 7254

output:

10700.0665885778

result:

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

Test #20:

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

input:

8973 4023 8973 4023 6905 7628 7712 5286

output:

2477.1380663984

result:

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

Test #21:

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

input:

2148 2841 6882 627 7536 1351 7536 1351

output:

5226.1407424437

result:

ok found '5226.1407424', expected '5226.1412151', error '0.0000001'

Test #22:

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

input:

2675 2674 5729 6548 5729 6548 8636 4819

output:

4933.0307114390

result:

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

Test #23:

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

input:

4753 2036 870 418 870 418 5382 6022

output:

7194.6480108481

result:

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

Test #24:

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

input:

8243 3651 3693 2486 8243 3651 3693 2486

output:

4696.7781510308

result:

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

Test #25:

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

input:

989 2849 6803 8319 4817 3260 3337 4005

output:

7982.6997939294

result:

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

Test #26:

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

input:

5000 2614 5000 2614 54 3582 1722 8855

output:

5530.5291790208

result:

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

Test #27:

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

input:

9512 2313 1623 8838 4639 8790 4639 8790

output:

10237.7696322047

result:

ok found '10237.7696322', expected '10237.7705581', error '0.0000001'

Test #28:

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

input:

8108 6868 8859 2824 8859 2824 4155 2530

output:

4713.1785453131

result:

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

Test #29:

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

input:

8968 8132 7931 7353 7931 7353 2016 8554

output:

6035.6959830661

result:

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

Test #30:

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

input:

9037 6561 44 7763 9037 6561 44 7763

output:

9072.9737682857

result:

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

Test #31:

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

input:

5035 8317 7561 9349 632 8830 9845 9495

output:

9236.9688751235

result:

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

Test #32:

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

input:

726 6185 726 6185 3208 6068 1568 2763

output:

3689.5291027447

result:

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

Test #33:

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

input:

3682 6468 539 6143 807 9155 807 9155

output:

3159.7582493169

result:

ok found '3159.7582493', expected '3159.7585351', error '0.0000001'

Test #34:

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

input:

3339 2273 573 118 573 118 6301 9372

output:

10883.3129147333

result:

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

Test #35:

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

input:

9181 4377 1634 6923 1634 6923 5426 7177

output:

7964.8807272928

result:

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

Test #36:

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

input:

4234 9717 6920 4555 4234 9717 6920 4555

output:

5819.0067881040

result:

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

Test #37:

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

input:

5815 4990 7189 8317 8644 3587 2423 1235

output:

6650.7702561433

result:

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

Test #38:

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

input:

1161 3353 1161 3353 6090 7574 6755 569

output:

7036.4941554726

result:

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

Test #39:

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

input:

9568 490 3449 8116 6554 9226 6554 9226

output:

9777.4239812265

result:

ok found '9777.4239812', expected '9777.4248655', error '0.0000001'

Test #40:

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

input:

1684 7949 5208 7573 5208 7573 1073 1385

output:

7442.4168789446

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.0151684962

result:

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

Test #42:

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

input:

4141 6505 4327 5753 4141 6505 4327 5753

output:

774.6612162746

result:

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

Test #43:

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

input:

4204 2452 835 6550 4605 1882 5068 5558

output:

5305.0697450646

result:

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

Test #44:

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

input:

5040 5468 5040 5468 7612 1861 9909 7564

output:

6148.2044533343

result:

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

Test #45:

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

input:

2257 4431 6299 8834 7400 3745 7400 3745

output:

5976.9696785557

result:

ok found '5976.9696786', expected '5976.9702191', error '0.0000001'

Test #46:

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

input:

3156 8381 2894 7130 2894 7130 736 8066

output:

2352.2457354622

result:

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

Test #47:

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

input:

8498 955 763 7662 763 7662 2710 9816

output:

10237.8744864352

result:

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

Test #48:

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

input:

126 3639 1986 6867 126 3639 1986 6867

output:

3725.5313714959

result:

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

Test #49:

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

input:

8910 5983 3692 902 3691 7920 6373 5978

output:

7283.1370301540

result:

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

Test #50:

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

input:

7755 9476 7755 9476 2938 1429 1235 5946

output:

4827.3696771637

result:

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

Test #51:

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

input:

9611 4444 7640 2758 6008 5349 6008 5349

output:

2593.7300906555

result:

ok found '2593.7300907', expected '2593.7303252', error '0.0000001'

Test #52:

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

input:

9670 85 4211 3241 4211 3241 3200 7095

output:

6305.6337508612

result:

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

Test #53:

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

input:

3439 5092 315 2977 315 2977 5474 3136

output:

5161.4496025826

result:

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

Test #54:

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

input:

7895 8770 9632 7244 7895 8770 9632 7244

output:

2312.1083452122

result:

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

Test #55:

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

input:

233 3047 1950 6612 1928 1868 5407 8622

output:

7597.3651353611

result:

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

Test #56:

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

input:

753 3327 753 3327 8815 9153 7801 4311

output:

4947.0354759189

result:

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

Test #57:

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

input:

2149 6810 6800 7345 5207 5603 5207 5603

output:

4681.6687233899

result:

ok found '4681.6687234', expected '4681.6691468', error '0.0000001'

Test #58:

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

input:

7230 2383 174 1876 174 1876 6188 2933

output:

7074.1914732357

result:

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

Test #59:

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

input:

2744 8461 7620 8279 7620 8279 6744 6289

output:

4879.3954543570

result:

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

Test #60:

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

input:

728 1471 619 9889 728 1471 619 9889

output:

8418.7056606108

result:

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

Test #61:

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

input:

4246 4618 24 7259 1813 6620 379 3623

output:

4979.9764055666

result:

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

Test #62:

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

input:

1818 614 1818 614 4383 9324 1879 2894

output:

6900.3562226888

result:

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

Test #63:

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

input:

4232 8744 3238 7751 2771 6516 2771 6516

output:

1405.0212250840

result:

ok found '1405.0212251', expected '1405.0213522', error '0.0000001'

Test #64:

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

input:

6816 7329 3287 7544 3287 7544 7921 9611

output:

5074.0954858970

result:

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

Test #65:

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

input:

8542 9379 3445 725 3445 725 3102 705

output:

10043.4618035815

result:

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

Test #66:

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

input:

5120 2153 9076 8546 5120 2153 9076 8546

output:

7518.0040569289

result:

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

Test #67:

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

input:

891 1606 7731 1521 750 3295 5665 2089

output:

6840.5281228864

result:

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

Test #68:

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

input:

272 1515 272 1515 5989 7629 3838 5257

output:

3202.0594935135

result:

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

Test #69:

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

input:

626 5435 2810 1991 345 8563 345 8563

output:

4078.1109587482

result:

ok found '4078.1109587', expected '4078.1113276', error '0.0000001'

Test #70:

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

input:

1270 2635 5127 7905 5127 7905 8244 629

output:

7915.5457802984

result:

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

Test #71:

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

input:

2546 6136 6065 5785 6065 5785 1697 2096

output:

5717.3547204979

result:

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

Test #72:

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

input:

748 7324 4616 6815 748 7324 4616 6815

output:

3901.3465624064

result:

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

Test #73:

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

input:

1273 5193 3473 1481 5751 1882 7905 8278

output:

6748.9652540223

result:

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

Test #74:

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

input:

7232 6036 7232 6036 7448 9462 7296 2252

output:

7211.6020411556

result:

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

Test #75:

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

input:

2928 1809 883 7079 1690 1054 1690 1054

output:

5652.8682295043

result:

ok found '5652.8682295', expected '5652.8687407', error '0.0000001'

Test #76:

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

input:

2602 5747 5130 3258 5130 3258 2232 3086

output:

3547.6619061010

result:

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

Test #77:

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

input:

498 6776 5844 1680 5844 1680 2919 7169

output:

7385.7248797935

result:

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

Test #78:

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

input:

6089 9622 7669 9967 6089 9622 7669 9967

output:

1617.2275659288

result:

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

Test #79:

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

input:

5042 1120 1686 3425 4142 871 1154 4602

output:

4780.0109832510

result:

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

Test #80:

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

input:

1367 8923 1367 8923 9625 3561 2911 9243

output:

8795.6193642063

result:

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

Test #81:

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

input:

984 1978 9744 4404 9459 2343 9459 2343

output:

9089.7228261105

result:

ok found '9089.7228261', expected '9089.7236482', error '0.0000001'

Test #82:

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

input:

3189 6830 3886 8511 3886 8511 6715 3747

output:

5540.6621445455

result:

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

Test #83:

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

input:

7953 8650 5038 8611 5038 8611 8726 2046

output:

7529.9780212163

result:

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

Test #84:

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

input:

5806 6870 7894 4462 5806 6870 7894 4462

output:

3187.1943775051

result:

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

Test #85:

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

input:

3524 729 5006 7620 2209 1907 5397 2097

output:

7048.5604913344

result:

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

Test #86:

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

input:

4364 7956 4364 7956 3007 5705 6279 2072

output:

4889.2405340707

result:

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

Test #87:

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

input:

8451 8416 2304 3388 6431 5332 6431 5332

output:

7941.4344795407

result:

ok found '7941.4344795', expected '7941.4351977', error '0.0000001'

Test #88:

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

input:

3215 560 8308 1520 8308 1520 4278 9723

output:

9139.4807839395

result:

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

Test #89:

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

input:

5555 5549 2539 7223 2539 7223 8615 4483

output:

6665.2363799043

result:

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

Test #90:

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

input:

1133 1126 527 4924 1133 1126 527 4924

output:

3846.0421214542

result:

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

Test #91:

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

input:

6443 7141 4055 2804 2646 3058 4204 5168

output:

4950.9709148812

result:

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

Test #92:

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

input:

8714 7547 8714 7547 3440 4149 3006 7669

output:

3546.6541979731

result:

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

Test #93:

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

input:

6661 6695 1644 6151 8667 7662 8667 7662

output:

5046.4066813709

result:

ok found '5046.4066814', expected '5046.4071378', error '0.0000001'

Test #94:

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

input:

6532 7859 3890 3213 3890 3213 3353 3993

output:

5344.6683713772

result:

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

Test #95:

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

input:

4567 7388 2561 8979 2561 8979 4377 1148

output:

8038.8069388436

result:

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

Test #96:

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

input:

9020 5536 334 9443 9020 5536 334 9443

output:

9524.2451144435

result:

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

Test #97:

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

input:

4711 2021 4711 2021 9999 10000 9999 10000

output:

0.0000000000

result:

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

Test #98:

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

input:

4711 2021 9999 10000 9999 10000 4711 2021

output:

9572.2194396075

result:

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

Test #99:

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

input:

0 0 10000 10000 5000 5000 5000 5000

output:

14142.1343447483

result:

ok found '14142.1343447', expected '14142.1356237', error '0.0000001'