문제 : https://www.acmicpc.net/problem/1484 정답 코드 import sys def solve(): curWeight = 1 memoWeight = 1 answer = [] if G G: if diff == 1: break memoWeight += 1 elif powDiff == G: answer.append(curWeight) memoWeight += 1 elif powDiff < G: curWeight += 1 ..