QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#870396#8614. 3Ducup-team3188#TL 40ms3968kbC++202.3kb2025-01-25 16:13:322025-01-25 16:13:33

Details

Tip: Click on the bar to expand more detailed information

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.12716880099299869976 0.07586408119147517638 0.10189578879448107769
0.78757448586805641871 0.05023939214595680106 0.03029954607686769200
0.45008685200788787624 0.37998169461481954057 -0.20991645810253618949
0.46566480284992188625 0.27950620562625731641 0.32964784865407873636

result:

ok OK. Max delta: 0.093631

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

1.27562695746363214365 1.16511063504469953819 1.26194772650396281656
1.76389544545977297423 1.28934118882324740495 1.35968101814654830596
1.56768249030991269619 1.34472499789975185724 1.26883824745941953651
1.09727221980425765943 1.17897830320371000421 1.23938972782252099648
1.95390891592624666860 1...

result:

ok OK. Max delta: 0.088799

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.23307430863768421689 0.05711225604844267034 0.19721778973823753251
1.04046818812914417278 -0.10145733961743365523 -0.17515141810468026624
0.95155803110159626880 0.30268036100900355692 0.04447867642513765678
0.63570398312314253456 0.86466832580857830900 0.44185117375168843159
0.64937623842462669069...

result:

ok OK. Max delta: 0.096870

Test #7:

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

0.38239567199856791177 0.42321774474006620991 0.54522096162660957646
0.81942256985360329975 0.02022728798635817757 0.16735732993322344978
0.74969056621968927808 0.61411512828884354752 0.29615673862049540023
1.05254599651446213856 0.52775770262893981319 0.84177761495246204569
0.96322501871415369722 1...

result:

ok OK. Max delta: 0.081887

Test #8:

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

1.94415852645322493177 2.28318362796998708506 2.13645192831574072946
2.27272376861537857089 1.90394125501311675165 1.96687124170938227035
2.56399626320467912636 1.76088741701721281910 1.72796125409221346927
2.02574198535914113154 2.22896236800894705934 2.16365027975528655363
2.16659607909140640132 2...

result:

ok OK. Max delta: 0.096812

Test #9:

score: 0
Accepted
time: 1ms
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.24819085856053502484 1.50667784207013775435 1.72317732198110181580
1.87063682548894139599 1.37299363820730651307 1.08720855315790503070
1.64444924375785814479 1.76665390164991849005 1.60895837661323768558
1.52179529249508663225 1.66070941038754044019 1.30111930097767545167
1.86473763645330843283 1...

result:

ok OK. Max delta: 0.093353

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.78461358943703906894 2.41510744757666725806 2.28274623722852919652
2.89952091003639493257 2.19432341116822181683 2.04836419492739746557
2.17747689218828871256 2.37712997293995979744 2.32674773420550337947
2.63491459103543938076 2.29240732858758976286 1.68088103135839414418
2.49453170152070137023 1...

result:

ok OK. Max delta: 0.097046

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.57552398172861266230 1.39701505110253345221 1.83383348169787610462
1.68235553486487178292 1.23833428069276668053 1.29827403432727888418
1.36641327525553969398 1.63744589632702975952 1.96903539748255255928
1.43055856541503544272 1.63632166734967421839 1.16380121670463368704
1.83437109285321090705 1...

result:

ok OK. Max delta: 0.096445

Test #12:

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

2.62362603964738324690 2.22327938982827767928 2.59174454383332058811
2.65626592086007363991 2.07007889733168602914 2.05392252880097796056
2.22212131296352798310 2.37449871361306491134 1.66410167372127690397
2.11740655690252808333 1.97220285848364798381 2.06280565643571381536
2.46608822593003498684 2...

result:

ok OK. Max delta: 0.097626

Test #13:

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

2.05734857826564419532 1.98543720230936447538 1.49029980320421348789
2.34229172058667284469 1.96431863412666965236 1.67150348127913221002
2.65642156436477572473 2.09590097244188122748 2.13140835652861584189
2.13927494974578262066 2.48681594025559399037 1.85083094226169355767
1.90734329168213329259 1...

result:

ok OK. Max delta: 0.097567

Test #14:

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

1.09027053169252817315 1.06477501901107786907 1.13758024231095583546
1.19142707034844310483 0.83137478804151224480 1.14824955103444457515
1.17522505110877071893 0.93349447756162139866 0.56698558645103392848
0.87379974976265266596 1.99769082934770893603 0.99341571159653190313
1.65065065313663413276 1...

result:

ok OK. Max delta: 0.097381

Test #15:

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

0.78980521728245823659 0.90062695521852622038 0.83597052276823164644
1.05987607266037906569 1.32033213086045992063 1.17454777902526260659
0.95517242272097915715 1.22543289415999347646 0.72862809863994042946
1.16661951389284036101 1.10018715306758331214 1.63632538085168042629
1.10198559695637289340 0...

result:

ok OK. Max delta: 0.097099

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.84307615183659279979 1.44157362757465467348 1.78217789768903613870
2.19776124962933289359 1.52255872131453782146 1.25763324827584773585
1.46004838766314831418 1.68823085721013860260 2.23087671104921622060
1.72657380125097577686 2.25512129392831642662 1.61586972389430277343
2.11814305090349810716 1...

result:

ok OK. Max delta: 0.096811

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.85128746941400646299 2.09018802802808308355 2.34916881682545074695
2.38569986024806502019 1.78191650710438151308 2.21728073917130089196
1.71356934061297523479 2.48335809718061445938 1.93157520793090901445
2.46935196629054233867 1.94957598980076946850 1.78986797690185135343
2.32230247931752530489 2...

result:

ok OK. Max delta: 0.095177

Test #18:

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

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:

3.04169155932766181261 2.87963955017746231144 3.36729181849107651902
2.56330117903393306616 2.81696623353064537010 3.18534641206306719068
2.84180874521718369245 2.99645985194687397677 2.94678734088137387758
2.68399586287316165392 3.28246223323160426903 3.96415404170126520460
3.07534619724762885574 3...

result:

ok OK. Max delta: 0.096880

Test #19:

score: -100
Time Limit Exceeded

input:

10
0.000000 1.061016 0.689894 0.927767 0.698893 0.765947 0.661068 0.306274 0.338125 0.696899
1.061016 0.000000 0.648243 1.014484 1.091752 0.749377 0.935557 1.183802 0.696073 0.582378
0.689894 0.648243 0.000000 0.480864 0.914770 0.542060 0.834022 0.683526 0.147432 0.385821
0.927767 1.014484 0.480864 ...

output:


result: