QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#522584#9136. Exponent CalculatordefnotmeeWA 8ms10640kbPython3308b2024-08-17 03:10:012024-08-17 03:10:02

Judging History

你现在查看的是最新测评结果

  • [2024-08-17 03:10:02]
  • 评测
  • 测评结果:WA
  • 用时:8ms
  • 内存:10640kb
  • [2024-08-17 03:10:01]
  • 提交

answer

import math

resp = []

resp.append("$1 = $1 * %.30lf" % (1/2**6))


k = 8

for i in range(k,-1,-1):
    resp.append("$0 = $0 + %.30lf" % (1/math.factorial(i)))
    resp.append("$0 = $0 * $1")

for i in range(6):
    resp.append("$0 = $0 * $0")

print(len(resp))
for i in resp:
    print(i)

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 8ms
memory: 10640kb

input:

input

output:

25
$1 = $1 * 0.015625000000000000000000000000
$0 = $0 + 0.000024801587301587301565789639
$0 = $0 * $1
$0 = $0 + 0.000198412698412698412526317115
$0 = $0 * $1
$0 = $0 + 0.001388888888888888941894328433
$0 = $0 * $1
$0 = $0 + 0.008333333333333333217685101602
$0 = $0 * $1
$0 = $0 + 0.041666666666666664...

result:

wrong answer x=-20,jury=2.06115e-09,participant=9.64965e-42,error=1