update
This commit is contained in:
parent
4d520855f7
commit
df4859179a
@ -1,6 +1,7 @@
|
|||||||
#include <bits/stdc++.h>
|
#include <bits/stdc++.h>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
/*
|
/*
|
||||||
|
|
||||||
区间动态规划解题步骤:
|
区间动态规划解题步骤:
|
||||||
1.根据问题推测dp[i][j]的含义
|
1.根据问题推测dp[i][j]的含义
|
||||||
问题:长度为N的数字串,要求选手使用K个乘号将它分成K+1个部分
|
问题:长度为N的数字串,要求选手使用K个乘号将它分成K+1个部分
|
||||||
@ -12,6 +13,7 @@ using namespace std;
|
|||||||
|
|
||||||
3.边界问题(比如设定dp[0][0],dp[0][j],dp[i][0]初始值)
|
3.边界问题(比如设定dp[0][0],dp[0][j],dp[i][0]初始值)
|
||||||
num[i][j]
|
num[i][j]
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#define NV(v)#v<<" : "<<(v)
|
#define NV(v)#v<<" : "<<(v)
|
||||||
using ll = long long;
|
using ll = long long;
|
||||||
|
Loading…
Reference in New Issue
Block a user