QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#610061#6423. FireworksHuangHanShengWA 1ms4040kbC++20543b2024-10-04 14:50:062024-10-04 14:50:22

詳細信息

Test #1:

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

input:

3
1 1 5000
1 1 1
1 2 10000

output:

4.0000000000
10141.5852891136
3.0000000000

result:

ok 3 numbers

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 4040kb

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:

-2147483645.0000000000
-2147483611.0000000000
-2147483611.0000000000
-2147483622.0000000000
-2147483633.0000000000
-2147483613.0000000000
-2147483644.0000000000
-2147483647.0000000000
-2147483618.0000000000
-2147483639.0000000000
-2147483584.0000000000
-2147483608.0000000000
-2147483629.0000000000
-...

result:

wrong answer 1st numbers differ - expected: '89.72981', found: '-2147483645.00000', error = '23932780.40849'