QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#585805#9136. Exponent Calculatorucup-team2454#AC ✓0ms3796kbC++20987b2024-09-23 22:12:442024-09-23 22:12:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

input

output:

25
$1 = $1 * 0.000976562500000
$0 = $0 + 1
$0 = $0 + $1
$2 = $1 * $1
$3 = $2 * 0.500000000000000
$0 = $0 + $3
$4 = $2 * $1
$5 = $4 * 0.166666666666667
$0 = $0 + $5
$6 = $4 * $1
$7 = $6 * 0.041666666666667
$0 = $0 + $7
$8 = $6 * $1
$9 = $8 * 0.008333333333333
$0 = $0 + $9
$0 = $0 * $0
$0 = $0 * $0
$0...

result:

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

Extra Test:

score: 0
Extra Test Passed