【题解】洛谷P3959[NOIP2017]宝藏 状压DP

题目链接 学习了大佬题解,大概看明白了思路。 #include<cstdio> #include<climits> #include<cstring> #include<algorithm> using namespace std; typedef long long ll; const int INF=0x3f3f3f3f; int n,m,g[15][15],d[15][1<<13]; ll
相关文章
相关标签/搜索