[NOIP2001 普及组] 数的计算 - 洛谷
"""
P1028 [NOIP2001 普及组] 数的计算(python3实现)
https://www.luogu.com.cn/problem/P1028
"""
h=[0]*10001
n=int( input() )
for i in range(1,n+1):
h[i]=1
for j in range(1,i//2+1):
h[i]+=h[j]
print(h[n])
scratch2代码:
scratch3代码:
P1554 梦中的统计(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122783478
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
P1789 【Mc生存】插火把(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122806399
P1802 5 倍经验日(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122819918
P1880 [NOI1995] 石子合并(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122783341
P1888 三角函数(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122763906
数组——洛谷#P1427 小鱼的数字游戏(Python实现)
https://xiaoshuwen.blog.csdn.net/article/details/102888121
P1428 小鱼比可爱(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122706935