QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#450935#8242. V-Diagramucup-team3884#TL 671ms4128kbC++202.4kb2024-06-22 19:41:302024-06-22 19:41:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

6.7499999999
5.8333333329

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 281ms
memory: 3756kb

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.6666667461
435670789.6666666865
770302316.6666667461
608562705.0000000000
296293261.6666666865
319149416.3333333135
571816312.6666666269
223646002.3333333433
39407315.6666666642
383253737.6666666865
734363638.6666667461
779975824.3333333731
490276408.3333333731
574448414.0000000000
3379802...

result:

ok 100000 numbers

Test #3:

score: 0
Accepted
time: 320ms
memory: 4028kb

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.7500000000
527118856.7555555701
495489050.3529411554
525232841.1500000954
472025965.7000000477
546154003.1250000000
543366581.5161290169
254833443.2000000179
428466450.0499999523
502458665.3846154213
564217787.3333333731
479468115.1182795763
466246020.2045454979
570997279.6666666269
537648...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 671ms
memory: 4128kb

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.6274510026
515292672.4166666865
498032099.9814814925
481127839.6250000000
526924843.3362832069
488725771.4571918249
533287305.9464285970
438471966.3333333731
536630212.2575758100
560617979.7397260666
489475479.0281690359
484316845.3661972284
535619161.3714285493
557358012.7191010714
550404...

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: