본문 바로가기

Development/Algorithm

[Algorithm] 백준 3052번 문제풀이

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