Development/Algorithm

[Algorithm] 백준 3052번 문제풀이

Logan Moon 2021. 3. 14. 20:58
728x90

 

Baekjoon Logo

 

remainders = list()

for i in range(10):
    a = input()
    remainder = int(a) % 42
    remainders.append(remainder)

remainders = set(remainders)
print(len(remainders))
728x90