first commit
from old repository to a new repository
This commit is contained in:
9
boj/1789.py
Normal file
9
boj/1789.py
Normal file
@@ -0,0 +1,9 @@
|
||||
s=int(input())
|
||||
count=1
|
||||
sum=1
|
||||
|
||||
while sum<=s:
|
||||
count+=1
|
||||
sum+=count
|
||||
|
||||
print(count-1)
|
||||
Reference in New Issue
Block a user