QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#609476#6423. FireworksHuangHanShengWA 3ms4204kbC++20780b2024-10-04 13:11:232024-10-04 13:11:26

详细

Test #1:

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

input:

3
1 1 5000
1 1 1
1 2 10000

output:

4.000000000000
10141.585289114695
3.000000000000

result:

ok 3 numbers

Test #2:

score: 0
Accepted
time: 3ms
memory: 4192kb

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.729805650548
200.348432055749
177.346278317152
416.839877800355
90.293453724605
149.569421362744
190.672507085803
164.601521115577
139.349701393497
275.133110248423
167.364016736402
207.190737355271
300.732217573222
589.058848950519
101.877028212449
10796.887266904578
229.792147806005
303.9373704...

result:

ok 20 numbers

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 4088kb

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:

100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000
100000000.000000000000

result:

wrong answer 1st numbers differ - expected: '1980003919.02917', found: '100000000.00000', error = '0.94950'