수들의 합1 백준-1789번(수들의 합)-python3 a=int(input()) x=1 while x*(1+x)/2x: arr.append(x) a-=x elif a 2023. 11. 24. 이전 1 다음