buleboy
buleboy
全部文章
分类
PAT-甲(1)
归档
标签
去牛客网
登录
/
注册
buleboy的博客
全部文章
(共1篇)
题解 | #Favorite Color Stripe (30)#
将喜欢的颜色按顺序映射到递增的序列,就将问题转化为LIS 最终找出最大的dp[i]将其输出。 #include <bits/stdc++.h> using namespace std; const int maxc=210; const int maxn=10010; int has...
LIS
动态规划
2021-06-17
1
389