注意:数组开够没有
本人看到了三万的数据但是脑残打的是1e4 + 5
#include <bits/stdc++.h>
#define int long long
using namespace std;
const int N = 1e4 + 5;
int m, n, x;
int w[40], v[40], f[N];
signed main() {
ios::sync_with_stdio(false);
cin.tie(0);
cin >> m >> n;
.......
.......
.......
cout << f[m];
return 0;
}
第一次交
最后AC的记录
我居然无脑冲了11发