QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#506336#6423. FireworksksksjdWA 1ms3996kbC++14743b2024-08-05 16:48:012024-08-05 16:48:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 1 5000
1 1 1
1 2 10000

output:

4.000000
10141.585289
3.000000

result:

ok 3 numbers

Test #2:

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

input:

20
10 27 2855
79 59 6888
65 72 7725
78 50 2888
31 21 5759
41 58 6619
47 27 3881
35 55 5095
77 7 6028
17 89 1792
84 60 8604
58 44 4923
88 27 3824
54 63 1482
19 42 5366
93 76 97
100 99 8660
96 36 4343
90 56 9515
24 44 9922

output:

89.729806
200.348432
177.346278
416.839878
90.293454
149.569421
190.672507
164.601521
139.349701
275.133110
167.364017
207.190737
300.732218
589.058849
101.877028
10796.887267
229.792148
303.937370
153.441934
68.534570

result:

ok 20 numbers

Test #3:

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

input:

10
954269343 987322500 9806
916720797 981711601 9728
902477101 957414437 9250
967013471 988735825 9674
985383693 926528961 9411
970653208 917703218 9331
998423148 911924940 9283
986159007 902133513 9759
953796828 947934512 9959
995334734 931874197 9944

output:

1980003919.029166
1951513567.023026
2010693554.594594
2021655257.390945
2031572260.121135
2023744964.098167
2057899480.771302
1934924193.052567
1909560538.206647
1938062078.640386

result:

ok 10 numbers

Test #4:

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

input:

10
933722894 72 9673
975866948 5 9424
910984544 95 9682
994597175 6 9351
972675086 51 9712
952759975 51 9114
956482031 85 9478
921988922 72 9017
950640658 36 9893
965297247 78 9342

output:

965287879.665047
1035512471.349745
940905431.728982
1063626543.685167
1001518880.766063
1045380761.465877
1009160282.760076
1022500825.108129
960922565.450318
1033287652.536930

result:

ok 10 numbers

Test #5:

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

input:

10
910088095 81 316
970640211 35 537
908853334 41 89
932269507 8 457
953224740 22 113
959834859 69 34
924852390 63 115
952730384 97 382
917634328 91 20
937287266 32 654

output:

28800258734.177250
18075237355.679712
102118356741.572816
20399770568.927807
84356173628.318758
282304390588.238731
80421952434.782925
24940588507.853395
458817209499.999592
14331610061.162077

result:

ok 10 numbers

Test #6:

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

input:

10
968675373 962412132 104
923494255 934310785 381
922721350 957856460 282
978335370 917228676 825
951116860 942542480 359
999013758 972493824 676
930242700 964474169 342
968944030 984608304 520
965837594 909045242 369
990484700 925952624 479

output:

106669104052.294625
31076848077.761095
40771434362.895143
16579259543.363530
33660076568.701911
20209258011.501923
34581380127.395101
24798113234.332941
33145494087.728252
26925682159.120079

result:

ok 10 numbers

Test #7:

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

input:

10
22 972733171 975
22 973609752 512
55 987399854 126
49 967364929 642
23 948126474 513
25 962813818 421
93 933323422 113
58 950364131 647
82 991906690 682
31 957667404 402

output:

972745591.045111
973624334.397894
987459733.978186
967383412.096900
948141282.299560
962830402.142073
933426973.292202
950383689.077554
991930609.543356
957685897.679247

result:

ok 10 numbers

Test #8:

score: -100
Wrong Answer
time: 0ms
memory: 3872kb

input:

10
47 972371220 9743
65 949941115 9400
86 921812690 9736
11 927065494 9182
71 923766617 9378
63 941828720 9029
96 917539847 9084
88 952051332 9499
91 958386812 9427
64 950375055 9887

output:

972387866.888279
949953686.399776
921829909.434345
927107047.078954
923780728.078757
941912703.249813
917604831.753914
952171332.974331
958397507.518637
950496551.904713

result:

wrong answer 8th numbers differ - expected: '952051875.05522', found: '952171332.97433', error = '0.00013'