Skip to content

Instantly share code, notes, and snippets.

@chichoon

chichoon/1546.py Secret

Created February 4, 2020 15:44
200204python
N = int(input())
L = [int(i) for i in input().split(" ")]
print(sum(L)/N/max(L)*100)
L = [int(input()) % 42 for i in range(0,10)]
cnt = 0
for i in range(0, 42):
for j in range(0, 10):
if(i == L[j]):
cnt += 1
break
print(cnt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment