QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#522576#9136. Exponent CalculatordefnotmeeWA 15ms10604kbPython3197b2024-08-17 02:21:252024-08-17 02:21:25

Judging History

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

  • [2024-08-17 02:21:25]
  • 评测
  • 测评结果:WA
  • 用时:15ms
  • 内存:10604kb
  • [2024-08-17 02:21:25]
  • 提交

answer

print(25)

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

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 15ms
memory: 10604kb

input:

input

output:

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

result:

wrong answer x=-20,jury=2.06115e-09,participant=-962246,error=4.66848e+14