1.5编程基础之循环控制_45金币
https://blog.csdn.net/dllglvzhenfeng/article/details/121993236
1.5 编程基础之循环控制 45 金币(python3实现一)
https://blog.csdn.net/dllglvzhenfeng/article/details/122878384
"""
1.5 编程基础之循环控制 45 金币 方法二(python3实现)
http://noi.openjudge.cn/ch0105/45/
http://ybt.ssoier.cn:8088/problem_show.php?pid=1969
P2669 [NOIP2015 普及组] 金币
https://www.luogu.com.cn/problem/P2669
1.5编程基础之循环控制_45金币
https://blog.csdn.net/dllglvzhenfeng/article/details/121993236
"""
import sys
ans=0
days=0
n=int( input() )
i=1
while 1:
for j in range(1,i+1):
ans+=i
days+=1
if days==n:
print( ans )
sys.exit( 0 )
i+=1
P1554 梦中的统计(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122783478
P1601 A+B Problem(高精)-- python3实现
https://blog.csdn.net/dllglvzhenfeng/article/details/122839158
P1614 爱与愁的心痛(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122803117
P1616 疯狂的采药(python3实现)--80分
https://blog.csdn.net/dllglvzhenfeng/article/details/122820559
P1618 三连击(升级版)-- python3实现
https://blog.csdn.net/dllglvzhenfeng/article/details/122772905