QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#522466#9136. Exponent Calculatorberarchegas#WA 16ms10452kbPython3220b2024-08-16 23:45:342024-08-16 23:45:35

Judging History

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

  • [2024-08-16 23:45:35]
  • 评测
  • 测评结果:WA
  • 用时:16ms
  • 内存:10452kb
  • [2024-08-16 23:45:34]
  • 提交

answer

print(23)

print("$2 = $0 + 0")
print("$1 = $0 * $0")

for i in range(2,9):
    if(i != 2):
        print("$1 = $1 * $2")
    print("$1 = $1 * %.30lf" % (1/i))
    print("$0 = $1 + $0")

print("$0 = $0 + 1.0")

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 16ms
memory: 10452kb

input:

input

output:

23
$2 = $0 + 0
$1 = $0 * $0
$1 = $1 * 0.500000000000000000000000000000
$0 = $1 + $0
$1 = $1 * $2
$1 = $1 * 0.333333333333333314829616256247
$0 = $1 + $0
$1 = $1 * $2
$1 = $1 * 0.250000000000000000000000000000
$0 = $1 + $0
$1 = $1 * $2
$1 = $1 * 0.200000000000000011102230246252
$0 = $1 + $0
$1 = $1 *...

result:

wrong answer x=-20,jury=2.06115e-09,participant=1,error=4.85165e+08