QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#870394#8614. 3Ducup-team3188#TL 4ms3840kbC++202.3kb2025-01-25 16:12:492025-01-25 16:12:50

详细

Test #1:

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

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.06080160232231983894 0.09359785462965681160 0.10112216939127761367
0.78705785980199686406 0.00076617750055772878 0.02796341938051889697
0.43511273484617541462 0.31124210348346828206 -0.22898393440991265031
0.48045667059097077125 0.24584833031564794307 0.25259270588087364315

result:

ok OK. Max delta: 0.092391

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: 3840kb

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: 0ms
memory: 3840kb

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.04105734194318770194 0.09020455058501377568 0.15656947470081161359
0.54030911353478845309 0.13599404379001270474 -0.04591483358266106897
0.36436442210239472064 0.16250838177921401054 -0.01022034765139918014
-0.01327760990169930770 0.29829089350341599961 0.31663475068283138605
1.0105347894950510662...

result:

ok OK. Max delta: 0.096187

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.21404925607641775366 1.36949385052703774296 0.63693704693386944942
1.95284290589282141771 0.91704860039845309950 0.86305100108334794912
1.52836528225709862268 0.77582837258000100073 0.87224178510746746325
0.79897688082918782814 0.55963182680818815499 0.99246123529903069283
0.90818991020923330070 0...

result:

ok OK. Max delta: 0.075843

Test #7:

score: 0
Accepted
time: 1ms
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.89359813868560857171 1.83326413915673411454 1.28475300667410911523
2.41096327631706329616 1.62568721514109980862 1.53253164043410425310
1.84093777819186189598 1.78666071561146454758 1.73837699857477376427
1.83079844702417051544 1.24096253520859572267 1.87196485195847747273
1.20543290607970770287 1...

result:

ok OK. Max delta: 0.095004

Test #8:

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

2.13899830306308921042 2.13751084775921527145 2.29193710337643155139
2.42551419920935866612 2.05526649355134278445 1.93737195427829735973
2.62668321285111675120 1.92985136020292104427 1.61200232891262400974
2.25495142170682955508 2.08242911426271162171 2.22331291293828222505
2.24524623396743754447 2...

result:

ok OK. Max delta: 0.084000

Test #9:

score: 0
Accepted
time: 0ms
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.13920501903536463824 1.60565083887486654537 0.94767812910317488965
1.81284164238361737394 1.06731406362727438992 0.97053947704853076039
1.52526652994390429091 1.58392611982778836507 1.31991712738718344679
1.41894212064928463863 1.36016893365210775097 1.23821777015556551979
1.81353774100590569348 1...

result:

ok OK. Max delta: 0.089414

Test #10:

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

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.94266486672093370211 1.77376880637701358416 2.27739592960068812366
2.53824600590435796852 2.64728959012125896573 1.79410863500749521570
2.27208017662451220754 2.06080638513860676811 2.28589268920407281288
2.49104579553004306389 2.22888242156699832325 1.53018374016064855005
2.06599447523367475655 2...

result:

ok OK. Max delta: 0.095077

Test #11:

score: 0
Accepted
time: 0ms
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.41267494145998407013 2.51489209043714366586 1.98767579688101705580
2.07974654704725850298 2.10864311211857259490 1.79782558320218173345
2.43982447276045101678 2.65706679659392248569 2.34328551091452536330
1.90149426424208281973 2.08308156189283709913 2.24829823637286400147
2.33064485309724244832 1...

result:

ok OK. Max delta: 0.092338

Test #12:

score: 0
Accepted
time: 2ms
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.57350397359877375119 1.14625922287463103267 1.49669913534705045397
1.65085591727450536035 1.49994018057440225272 0.98716174716205725239
1.10112260123342848455 1.78764164648373501349 0.89236712370400519511
1.15524898942415962387 1.26334333731179842273 0.93045810281126344786
1.44593883405287809609 1...

result:

ok OK. Max delta: 0.097817

Test #13:

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

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:

0.81731261383658044872 1.08101225220360996492 1.23304412924868144906
0.97208625416736543518 1.30515654150005132317 1.13273568734769158352
1.24636838871620975026 1.87402726171465902106 1.28342077690732331524
0.98150250936251252253 1.44867490184649288186 1.76002202886235129908
1.83179164449268919634 1...

result:

ok OK. Max delta: 0.095977

Test #14:

score: 0
Accepted
time: 4ms
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:

2.06731626425692294993 2.99870184339673060076 1.69654746856279116949
2.10457633414850300933 3.16657245056906673812 1.80369144386493925243
1.54896144024191966611 3.14497143786270087285 1.55411874203960955084
1.88182164889186610444 2.03390828057235448570 1.38641962629135091897
2.16607488197513148439 2...

result:

ok OK. Max delta: 0.089302

Test #15:

score: -100
Time Limit Exceeded

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:


result: