QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#870336#8614. 3Ducup-team3188#TL 290ms3968kbC++202.2kb2025-01-25 15:55:042025-01-25 15:55:11

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3968kb

input:

4
0.000000 0.758400 0.557479 0.379026
0.758400 0.000000 0.516608 0.446312
0.557479 0.516608 0.000000 0.554364
0.379026 0.446312 0.554364 0.000000

output:

0.08106358259539299192 0.05571655285122094376 0.04561074492852579464
0.82021740829178582747 0.05604556773199473356 -0.00651427734864141345
0.42041439068230574216 0.42687889726270140619 -0.20289384758921017201
0.41191848458780687221 0.22237592442196067282 0.24466943206648082727

result:

ok OK. Max delta: 0.062982

Test #2:

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

input:

1
0.000000

output:

0 0 0

result:

ok OK. Max delta: 0.000000

Test #3:

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

input:

2
0.000000 0.938096
0.938096 0.000000

output:

0 0 0
0 0 0.93809600000000000001

result:

ok OK. Max delta: 0.000000

Test #4:

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

input:

3
0.000000 0.769195 0.308169
0.769195 0.000000 0.686850
0.308169 0.686850 0.000000

output:

0.00000000000000000000 0.00000000000000000000 0.00000000000000000000
0.76919499999999999999 0.00000000000000000000 0.00000000000000000000
0.18857119505334869577 0.32141817855085039470 0.00000000000000000000

result:

ok OK. Max delta: 0.064482

Test #5:

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

input:

5
0.000000 0.444506 0.292333 0.209539 1.195824
0.444506 0.000000 0.220873 0.748833 0.757486
0.292333 0.220873 0.000000 0.533499 0.797167
0.209539 0.748833 0.533499 0.000000 1.141148
1.195824 0.757486 0.797167 1.141148 0.000000

output:

0.28215933547322063587 0.21943813845078623145 0.12183030509499945497
0.74856939457445840423 0.05655268987732272494 0.14211447883380277826
0.66374075925030330585 0.17890318056108944020 0.09395848314533947654
0.17152569927363668875 0.44888727633635775298 0.27398984355252583081
1.20876304499454878603 0...

result:

ok OK. Max delta: 0.092406

Test #6:

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

input:

6
0.000000 0.932377 0.787009 0.996894 0.763544 0.651377
0.932377 0.000000 0.421278 1.155673 1.149686 0.508563
0.787009 0.421278 0.000000 0.709021 0.793974 0.224884
0.996894 1.155673 0.709021 0.000000 0.392548 0.957498
0.763544 1.149686 0.793974 0.392548 0.000000 0.714079
0.651377 0.508563 0.224884 0...

output:

1.49757956376195046193 1.38348746199094213213 1.17077870556411949390
1.67270849159785507676 0.63114660902568863512 0.52383094699151928685
1.36096183785084761883 0.84530339476774851557 0.65867606936225933455
0.65496960746611210995 0.99934821689208026916 0.91596376419085069566
0.86660587358632835020 0...

result:

ok OK. Max delta: 0.083416

Test #7:

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

input:

7
0.000000 0.688481 0.455407 0.777049 0.963980 0.255052 0.554599
0.688481 0.000000 0.596921 0.827787 1.260207 0.340235 0.493011
0.455407 0.596921 0.000000 0.609173 0.640567 0.352193 0.243913
0.777049 0.827787 0.609173 0.000000 0.858134 0.701131 0.393303
0.963980 1.260207 0.640567 0.858134 0.000000 0...

output:

1.71463964020942074163 1.60195219626114766797 1.81808018974823179916
2.33517314477126538934 1.42458468221287090400 1.65711967548686146573
1.91993872933332091250 1.94733898411729487038 1.71773532800397085490
2.21146330576215176061 2.04474081899212952449 2.22346460837611154720
1.68572563459822717701 2...

result:

ok OK. Max delta: 0.073427

Test #8:

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

input:

8
0.000000 0.437494 0.934265 0.074097 0.673669 0.425700 0.479212 0.679270
0.437494 0.000000 0.331045 0.393801 0.527073 0.402792 0.375134 0.461133
0.934265 0.331045 0.000000 0.792317 0.605663 0.880433 0.786178 0.455534
0.074097 0.393801 0.792317 0.000000 0.681633 0.278020 0.327267 0.550058
0.673669 0...

output:

2.17753873486541352222 1.95597569540937914374 2.10238155193577770283
2.54869529941005704870 2.21753272648677997726 2.22601750065939834895
2.91452263282174401857 2.42957726477461010621 2.21972279266168703448
2.19212153685854527424 2.02580595957079538498 2.24957939791151352495
2.39604462882137836431 2...

result:

ok OK. Max delta: 0.094133

Test #9:

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

input:

9
0.000000 0.883128 0.449200 0.525234 0.745161 0.323207 0.430759 1.247103 0.564870
0.883128 0.000000 0.664206 0.590150 0.433578 0.890708 0.741718 0.798316 1.033522
0.449200 0.664206 0.000000 0.326949 0.636800 0.523900 0.642051 0.680925 0.349474
0.525234 0.590150 0.326949 0.000000 0.523965 0.344241 0...

output:

1.72863683248307431017 2.17070120780538842195 2.26410119050876357683
2.47217504721869647658 1.75452922384101924174 1.87608387533826288275
2.09614299967143254263 2.30443951491497288743 2.02928681618370987221
2.02621555730592185275 2.11463167327002253266 1.90063649667844499088
2.44397410417981382751 1...

result:

ok OK. Max delta: 0.094362

Test #10:

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

input:

10
0.000000 1.141963 0.357381 0.960442 0.887799 0.393165 1.000015 0.883861 1.059968 0.666258
1.141963 0.000000 0.730979 0.430440 0.528721 0.822481 0.567380 0.334929 0.552413 0.840500
0.357381 0.730979 0.000000 0.861027 0.623726 0.216981 0.719423 0.558824 0.726378 0.310217
0.960442 0.430440 0.861027 ...

output:

1.36148854199686431118 1.99676830177140532646 1.61599886169379519001
2.39230552228450816317 1.75795559956847296146 1.98559321933260690685
1.70104144711529396911 2.07348535837390168194 1.81478701742499267822
2.13296203077977157840 1.43972780763165094807 2.00004313285492319363
2.17924591952901833031 1...

result:

ok OK. Max delta: 0.089449

Test #11:

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

input:

10
0.000000 0.508467 0.359704 0.705660 0.752608 0.632298 0.433047 0.541855 0.108842 0.652503
0.508467 0.000000 0.849608 0.542157 0.614068 0.673963 0.552462 0.470005 0.697815 0.822930
0.359704 0.849608 0.000000 0.832286 0.790254 0.844729 0.428335 0.707356 0.221649 0.447522
0.705660 0.542157 0.832286 ...

output:

1.35668177800337858149 1.34806492908439369376 1.05230972258110292794
1.35539723037430275866 0.91445201043495228873 1.37352445113600893974
1.26247060888043645106 1.69743583633285474786 1.09358974383430466494
1.10176166041984939059 1.17792712879665947964 1.68311324243870019635
1.49632092610487483651 1...

result:

ok OK. Max delta: 0.093853

Test #12:

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

input:

10
0.000000 0.532841 1.081715 0.791902 0.304710 0.943952 0.318604 0.512618 0.263399 0.317304
0.532841 0.000000 0.617254 0.571776 0.863445 0.644868 0.534570 0.898453 0.767957 0.380512
1.081715 0.617254 0.000000 0.498716 1.118400 0.375946 0.739541 1.081104 0.985516 0.778030
0.791902 0.571776 0.498716 ...

output:

1.61088296435768520371 1.63921998506602449358 2.09573533142987136085
1.76486681146146453451 1.45362233379963475834 1.57850302305537209017
2.29936855801114419071 1.82673101684169871158 1.35110019503597883212
1.81918369810721748995 2.00187744571317589046 1.48520576835017726616
1.78639836440895761539 1...

result:

ok OK. Max delta: 0.090053

Test #13:

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

input:

10
0.000000 0.337812 0.820740 0.714576 0.958294 1.114603 1.052855 0.816204 0.921684 0.581533
0.337812 0.000000 0.588126 0.550959 0.851936 1.076003 0.824637 0.634512 0.630209 0.781504
0.820740 0.588126 0.000000 0.754545 0.853344 0.651402 0.625435 0.521290 0.463145 0.927492
0.714576 0.550959 0.754545 ...

output:

1.74273543668677755784 1.92370802452918186710 2.12670861918857574571
1.83149934289806883957 2.13410340527524432556 1.96591518651635687007
2.23703904867863007967 2.60253588016984288805 1.88025874833705365088
2.16883786597901622871 2.19790889791733684306 2.49904965118882533680
2.60790750357430678821 1...

result:

ok OK. Max delta: 0.090197

Test #14:

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

input:

10
0.000000 0.157221 0.630350 0.940948 0.790907 0.666502 0.536584 0.506196 0.353744 0.642539
0.157221 0.000000 0.582092 1.279081 0.812532 0.810677 0.850103 0.865478 0.320962 0.694578
0.630350 0.582092 0.000000 1.171965 1.045437 1.168568 0.582206 0.854963 0.513105 1.137099
0.940948 1.279081 1.171965 ...

output:

0.51088111815856502283 4.53819850523730137929 1.15200657836318186777
0.57112155053838659384 4.42207755496845461747 1.33280167641398299605
0.42320297978195893889 5.00386403411057414155 1.50919697218780908294
0.29533876590027805651 5.13567351623200866366 0.40602127254881876340
1.04960556396757831725 4...

result:

ok OK. Max delta: 0.093777

Test #15:

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

input:

10
0.000000 0.655953 0.416075 0.956128 0.351321 0.411663 0.904277 0.786858 0.961004 1.159073
0.655953 0.000000 0.398507 0.430374 0.378366 0.531641 0.789955 0.396050 0.368849 1.088933
0.416075 0.398507 0.000000 0.976294 0.461240 0.328488 0.979923 0.705916 0.884932 1.254989
0.956128 0.430374 0.976294 ...

output:

1.65290917655078958099 1.93987239396515075607 1.60070577637849483670
2.20540215866871954701 1.96760964867085003224 1.74287785689518250000
1.91486481594155689512 1.66994204398016284074 1.50114171995030458375
2.53237632001157743095 2.03164669797356590964 2.06099784405869025216
1.90430230701639647932 1...

result:

ok OK. Max delta: 0.088845

Test #16:

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

input:

10
0.000000 0.672245 0.576475 0.810904 0.599396 0.493165 0.431514 0.511677 0.859634 0.881368
0.672245 0.000000 1.249406 1.027657 0.113558 0.392208 0.862698 0.329856 1.012059 1.039747
0.576475 1.249406 0.000000 0.869439 1.254676 1.087547 0.535956 1.182094 0.744887 0.645939
0.810904 1.027657 0.869439 ...

output:

1.63095542492561411505 1.82210778165422703531 1.89695100815465446137
2.13401103285253122594 1.61098654522438316638 1.64030132949971984636
1.35873218018201150428 2.31325473366237662496 2.25097519692297583205
2.00514769171798112727 2.53528360232072560521 1.88240081874326091959
2.16804965731408049259 1...

result:

ok OK. Max delta: 0.092910

Test #17:

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

input:

10
0.000000 0.609276 0.612588 0.898616 0.668529 0.802163 0.126104 0.681054 0.761434 0.310892
0.609276 0.000000 0.922363 0.423227 0.591390 0.662160 0.751720 0.241917 0.563127 0.693959
0.612588 0.922363 0.000000 0.873479 0.681583 0.707351 0.595097 0.923846 0.768951 0.393683
0.898616 0.423227 0.873479 ...

output:

1.26947903456628497117 1.35533884918189441145 1.57531336405186919377
1.72412202603429931069 1.13025262043882297768 1.14595550435020491218
1.10260031072824063176 1.92520975452891510312 1.27373707808157144816
1.84321943220899033791 1.54650201044304971582 0.94675861702901229004
1.78358542290925814000 1...

result:

ok OK. Max delta: 0.094777

Test #18:

score: -100
Time Limit Exceeded

input:

10
0.000000 0.542508 0.426558 0.741404 0.733105 0.586307 0.271270 0.847645 0.757695 0.830800
0.542508 0.000000 0.497136 1.012191 1.083431 0.944439 0.618287 0.696705 0.472089 0.354373
0.426558 0.497136 0.000000 0.973354 0.928175 0.884683 0.594828 0.699473 0.534409 0.737409
0.741404 1.012191 0.973354 ...

output:


result: