QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#450913#8242. V-Diagramucup-team3884#TL 937ms4068kbC++202.3kb2024-06-22 19:31:172024-06-22 19:31:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
8 2 7 10
6
9 6 5 3 4 8

output:

6.750000000000000
5.833333333333334

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 937ms
memory: 3824kb

input:

100000
3
948511478 739365502 813471668
3
881046825 27458122 398507422
3
987554257 399092415 924260278
3
984128569 125199021 716360525
3
529589236 45783262 313507287
3
645443456 85994112 226010681
3
914820717 228360911 572267310
3
418958362 56703604 195276041
3
64461646 26764720 26995581
3
914535039 ...

output:

833782882.666666746139526
435670789.666666686534882
770302316.666666746139526
608562705.000000000000000
296293261.666666686534882
319149416.333333313465118
571816312.666666626930237
223646002.333333343267441
39407315.666666664183140
383253737.666666686534882
734363638.666666746139526
779975824.33333...

result:

ok 100000 numbers

Test #3:

score: 0
Accepted
time: 558ms
memory: 4068kb

input:

10000
4
194123849 79274911 191162487 570110764
86
957917218 915359202 914726017 873273226 867724859 867674150 809652204 805531383 745262007 743835491 727071232 714782071 645394643 639432679 594879540 587173904 583418126 560538589 518721836 469558994 427721766 411582333 404948350 402948978 357228675 ...

output:

258668002.750000000000000
527118856.755555570125580
495489050.352941155433655
525232841.150000095367432
472025965.700000047683716
546154003.125000000000000
543366581.516129016876221
254833443.200000017881393
428466450.049999952316284
502458665.384615421295166
564217787.333333373069763
479468115.1182...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 915ms
memory: 4020kb

input:

1000
357
999039850 998470288 997001139 994662646 991895879 986310400 986201443 971759917 969292691 967648767 963962459 963603069 959189978 954532156 936459732 927268934 925199105 918559276 906725073 903024522 891346023 886340039 872105565 871168803 867996002 862017068 851751458 849013653 847967471 8...

output:

493655540.627451002597809
515292672.416666686534882
498032099.981481492519379
481127839.625000000000000
526924843.336283206939697
488725771.457191824913025
533287305.946428596973419
438471966.333333373069763
536630212.257575809955597
560617979.739726066589355
489475479.028169035911560
484316845.3661...

result:

ok 1000 numbers

Test #5:

score: -100
Time Limit Exceeded

input:

100
1152
999672457 998726401 995956848 990786177 990411263 984766135 983346495 982593760 982250360 980153123 975942408 974567443 973232196 970303426 967381747 966555245 966400114 965308448 961378668 960953166 960451796 957742285 957273419 956986267 956737190 956352393 954265694 953272327 952096100 9...

output:


result: