QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#870384#8614. 3Ducup-team3188#TL 1ms3968kbC++202.3kb2025-01-25 16:09:512025-01-25 16:09:51

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
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.03820641022584895943 0.08658250429755302995 0.05410235205265512550
0.73758464955150013231 0.05410888009944371102 -0.10776182350656108052
0.31221204925895132878 0.42660745855092547588 -0.21206310133295400244
0.41502995805517780661 0.22338945586871703106 0.25064012699366082097

result:

ok OK. Max delta: 0.067448

Test #2:

score: 0
Accepted
time: 1ms
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: 3840kb

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:

1.35383649027893870095 1.24031715226185391618 1.19701608497302059288
1.77474775443508406183 1.46414611551326886236 1.19255443530811288527
1.65861544207471285086 1.33888157717359667276 1.31967271875044245852
1.17534670170945264355 1.19359752800117542961 1.28045144481427944491
2.07972575370734868213 1...

result:

ok OK. Max delta: 0.091901

Test #6:

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

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:

0.91855563489697063359 0.78822370379904725278 1.17223629313057757832
1.75283183619133087585 0.95210017661750725049 0.63144914356669464548
1.32064941146990786258 1.03762370870319819906 0.56452779078666839754
0.69047630268483740283 0.82181405622676181736 0.18404925402113361360
0.80644431077472071838 0...

result:

ok OK. Max delta: 0.092509

Test #7:

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

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.99579596376421004281 2.05729523510094906760 2.15053537203689683582
2.35023127488755763565 1.59717477708177688848 1.93694837074542034350
2.05958969169568383907 2.05997099564408988974 1.71884315005347753367
1.66714145258743931186 1.76111575343258631413 1.52518728322644656395
1.86194691098643813089 2...

result:

ok OK. Max delta: 0.079237

Test #8:

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

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:

1.77191195718693314640 1.78235217313890978094 2.13419704052257712640
2.12749793482921612225 1.73644423631641381584 1.85003408422298882955
2.39687632167465898992 1.48583021775272168920 1.65271554868462865434
1.88557636582477635952 1.85306740952656403881 2.11075043169587173554
1.88165637319949034020 1...

result:

ok OK. Max delta: 0.091454

Test #9:

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

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.61937666768687791826 1.67647915940896632264 1.98258901893680894934
2.33859958452135956847 1.59391919536344249054 1.37715120229432452337
1.88022962544282380259 2.04696268590634247730 1.73026781737038552018
1.83580719118602721078 1.76816131728648298345 1.56168376821377640254
2.35471961918806560357 1...

result:

ok OK. Max delta: 0.086865

Test #10:

score: 0
Accepted
time: 0ms
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.18284708453213803210 1.61183433405413694631 1.45813364533348064289
2.28747559195125517656 1.83910316682695492991 1.74726218181074330034
1.49273177342842934307 1.82151976591906546252 1.65566269560263959265
2.14720876180260261982 1.39370440445230581606 1.56187590364689077142
1.99540104261860308499 1...

result:

ok OK. Max delta: 0.084054

Test #11:

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

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:

2.01697162378816195836 2.12156512601049472284 1.77389726578529496295
1.89656579183134103828 1.54614569444325950106 1.77536723920655203272
1.97079694390025559508 2.39930913232460214920 2.04583774003722076692
2.04218455681492111324 1.60257813951143803421 2.26754317312652799079
1.57325767426026462783 1...

result:

ok OK. Max delta: 0.094326

Test #12:

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

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.64257482341272532847 1.58934194980164332739 1.87590844108150883859
2.05784123356392890979 1.39304826032959755508 1.47811356798628346380
2.27577474507767557707 1.84652134857727063470 1.13833477907557795031
1.73903904592440021286 1.79198136958545256082 1.13607463404199467540
1.64855202572955295698 1...

result:

ok OK. Max delta: 0.092066

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.60513501258618158181 1.91096818181510794674 1.80733183728584098887
1.87338665192432580152 2.10348265853420942424 1.65450216877647632600
2.41655198794933466716 2.32947938879528027088 1.78017882191007013285
1.85245398295454838215 2.30650311309531951464 2.25638249476855772230
2.34393449990569489850 1...

result:

ok OK. Max delta: 0.092653

Test #14:

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

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:

1.99038051123393447015 2.31156600999224660464 2.42162188100234811866
1.81700262641072943768 2.18397379490631711268 2.51054974599017225682
1.77520090035267765697 1.96527480953688810095 1.93478104465446954516
2.83867059244853435886 2.47857686404111257931 1.91661368906814723366
2.64822013969479005892 1...

result:

ok OK. Max delta: 0.094051

Test #15:

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

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.42161337701934863392 1.63198502343966896956 1.82767037051779808932
1.96771805883227519473 1.51602900405621304888 1.76279063920673324654
1.56837559142301351223 1.43885476689260083947 1.61401443467912156151
2.42587999297577097224 1.65093054816772127913 1.71481823024688657194
1.75852982273092032877 1...

result:

ok OK. Max delta: 0.093916

Test #16:

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

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.78678997873108142737 1.98001620761530898159 1.50028252120963015372
2.13470743837110311881 1.51601044617541111815 1.88500089768996446059
1.54891688045309698077 2.58078622163271468280 1.46292357735360092604
1.44584308194307375084 2.20613722826117062488 2.16415936835584139103
2.07000805913409493425 1...

result:

ok OK. Max delta: 0.094764

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:

2.25904213929832982529 2.58920336634851485009 2.01672408714491084884
2.54308508316034752252 1.98142071646602371392 1.95663258831246254072
1.81967701645101387732 2.38458913995960233379 2.36490491845724374893
2.69951250445963005105 1.99418340258739813895 2.43912875037704010117
2.42908371612679142132 2...

result:

ok OK. Max delta: 0.094978

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: