![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
动态规划DP
文章平均质量分 72
wzxshhz123
这个作者很懒,什么都没留下…
展开
-
HDU2048 数塔
#include #include #include using namespace std;int main(){ int c; cin>>c; while(c--){ int N; cin>>N; int array[105][105],dp[105][105]; int i,j; for(i=1;i>array[i][j]; memset(dp,0,sizeof(dp)); // 初始化原创 2017-04-04 17:53:28 · 179 阅读 · 0 评论 -
FJNU1196 汪老司机
#include #include #include using namespace std; int main(){ int maxn=10005;//注意数组的边界 int T; cin>>T; while(T--){ int n,k; cin>>n>>k; long long array[maxn][3];原创 2017-04-05 01:31:31 · 600 阅读 · 0 评论