BAEKJOON/Python

[B3052][나머지][python]

sseni 2021. 3. 10. 14:01
728x90

https://www.acmicpc.net/problem/3052


arr = [int(input()) % 42 for _ in range(10)]
n = []
for i in range(len(arr)):
    if arr[i] not in n:
        n.append(arr[i])
print(len(n))
728x90