뒤통수가 따가워1 [구름LEVEL] 뒤통수가 따가워 (Python) - stack input() #초기화 answer = '0' ppl = list(map(int, input().split())) stack = [ppl[0]] for i in range(1, len(ppl)): p = ppl[i] cansee = 0 #볼 수 있는 신선의 수 while stack and stack[-1] 2023. 2. 5. 이전 1 다음