QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#714754#7694. CornhuskergivitWA 13ms10636kbPython3356b2024-11-06 05:30:452024-11-06 05:30:45

Judging History

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

  • [2024-11-06 05:30:45]
  • 评测
  • 测评结果:WA
  • 用时:13ms
  • 内存:10636kb
  • [2024-11-06 05:30:45]
  • 提交

answer

first = [int(n) for n in input().split(' ')]
second = [int(n) for n in input().split(' ')]
totalsum = 0

totalsum += (first[0] * first[1])
totalsum += (first[2] * first[3])
totalsum += (first[4] * first[5])
totalsum += (first[6] * first[7])
totalsum += (first[8] * first[9])

avg = totalsum / 5

avg *= second[0]
avg /= second[1]

print(avg)

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 13ms
memory: 10636kb

input:

16 32 16 32 16 32 16 32 16 32
25 85

output:

150.58823529411765

result:

wrong answer 1st lines differ - expected: '150', found: '150.58823529411765'