QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#494808#9136. Exponent Calculatorucup-team3602#AC ✓14ms10580kbPython3419b2024-07-27 17:04:562024-07-27 17:04:56

详细

Test #1:

score: 100
Accepted
time: 14ms
memory: 10580kb

input:

input

output:

25
$1 = $1 * 0.0009765625
$0 = $0 + $1
$0 = $0 + 1.0
$2 = $1 * $1
$2 = $2 * 0.5
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.33333333333333333333333333333333
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.25
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.2
$0 = $0 + $2
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 ...

result:

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

Extra Test:

score: 0
Extra Test Passed