QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#495544#9136. Exponent Calculatorucup-team018#AC ✓0ms3868kbC++202.2kb2024-07-27 21:44:312024-07-27 21:44:32

详细

Test #1:

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

input:

input

output:

25
$1 = $1 * 0.00097656250000000000
$2 = $1 * $1
$2 = $2 * 0.50000000000000000000
$3 = $2 * $1
$3 = $3 * 0.33333333333333331483
$4 = $3 * $1
$4 = $4 * 0.25000000000000000000
$5 = $4 * $1
$5 = $5 * 0.20000000000000001110
$0 = 1.00000000000000000000
$0 = $0 + $1
$0 = $0 + $2
$0 = $0 + $3
$0 = $0 + $4
...

result:

ok max relative diff is 8.04772e-11. Checker runtime is 158 ms

Extra Test:

score: 0
Extra Test Passed