
【动态规划3】区间与环形动态规
dllglvzhenfeng
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
P3146 [USACO16OPEN]248 G(python3实现)
[USACO16OPEN]248 G - 洛谷"""P3146 [USACO16OPEN]248 G(python3实现)https://www.luogu.com.cn/problem/P3146"""f=[[0] * 310 for _ in range(310)]n=int( input() )a=[0]*310b=[]#b=list( map( int,input().split() ) )for i in range(n):原创 2022-02-04 22:08:36 · 185 阅读 · 0 评论 -
P1880 [NOI1995] 石子合并(python3实现)
[NOI1995] 石子合并 - 洛谷"""P1880 [NOI1995] 石子合并(python3实现)https://www.luogu.com.cn/problem/P1880"""import mathf=[[2147483647] * 310 for _ in range(310)]f1=[[-1] * 310 for _ in range(310)]a=[0]*310s=[0]*310n=int(input())#a.append(0)b=list(原创 2022-02-04 15:05:42 · 624 阅读 · 0 评论