【题解】hdu5693 D Game 区间DP

题目链接 区间DP好题,把区间DP的基本操作都用上了。(状态转移方程很多,见代码吧) #include<cstdio> #include<algorithm> #include<cstring> #include<map> using namespace std; const int N=310; int t,n,m,a[N],d,dp[N][N],f[N]; bool can[N][N]; ma
相关文章
相关标签/搜索