【题解】洛谷P2668(P2540)[NOIP2015]斗地主(增强版) 线性DP+dfs

题目链接 终于看明白了大佬题解,然而还是各种错误。 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; #define _rep(i,a,b) for(int i=(a);i<=(b);i++) int t,n,ans,dp[25][25][25][25][3],p[25],cnt[6]; //dp
相关文章
相关标签/搜索