https://www.acmicpc.net/problem/1107 1107번: 리모컨 첫째 줄에 수빈이가 이동하려고 하는 채널 N (0 ≤ N ≤ 500,000)이 주어진다. 둘째 줄에는 고장난 버튼의 개수 M (0 ≤ M ≤ 10)이 주어진다. 고장난 버튼이 있는 경우에는 셋째 줄에는 고장난 버튼 www.acmicpc.net 정답 code target = int(input()) ans = abs(100-target) # + or -로만 이동할때 (최대값) m = int(input()) if m: #고장난게 있을경우에만 input 실행 b = set(input().split()) else: b = set() for num in range(1000001): for n in str(num): if n in ..