umzhaa
umzhaa
全部文章
题解
归档
标签
去牛客网
登录
/
注册
umzhaa的博客
全部文章
/ 题解
(共2篇)
题解 | #最大子矩阵#
#include<iostream> using namespace std; const int MAXN = 110; int DP(int a[],int n){//对一个序列求最大子序列 int dp[MAXN] = {0}, maxResult = -1e9; ...
动态规划
最大子矩阵
最大子序列
2021-09-14
0
509
题解 | #最小邮票数#
#include<iostream> #include<algorithm> using namespace std; int main(){ const int MAXN = 1000000000; //前多少张邮票,能凑到多少钱 int M,N...
背包问题
动态规划
2021-06-26
0
590