Answers for "codeforces problem 200B"

0

codeforces problem 200B

# codeforces problem 200B solution in python. hope you've tried enough
n = int(input())
p = list(map(int, input().split()))[:n]
x = 100 / n
percentage = 0
for i in p:
    if i != 0:
        percentage += x / (100 / i)
print('%.12f' %percentage)
Posted by: Guest on April-24-2022

Code answers related to "codeforces problem 200B"

Python Answers by Framework

Browse Popular Code Answers by Language