如果这个题开大一点到2n个空间看通关情况的话 那理论上N应该开多大不会RE呢 蒟蒻当时这么定义的
const int N=1e4+4; const int M=120; int n,m,a[M],sco[N],dp[2*N],ma=-0x3f3f3f3f;
然后后三点RE了 后来开到2e4+4才过的