백준 풀이

백준 1789번 파이썬

ag2개발자 2022. 8. 26. 19:41
n= int(input())
m=1
while n>=m*(m+1)/2:
    m+=1
print(m-1)