本周学习内容一:本周学习了区间dp,今天又花一下午,终于弄懂这个经典题目(石子归并)
来看我的思考(O ^ ~ ^ O)
#include<iostream>
#include<iomanip>
#include<algorithm>
#include<cstring>
#include<map>
#include<queue>
#include<cmath>
#include<cstdio>
using namespace std;
#define first ios::sync_with_stdio(false);
const int mod = 1e9+7;//细节点1:用宏定义时,对1e9这种数据默认浮点数,用const int 能够避免出现此类问题