标签: 状压

1 篇文章

P1896 [SCOI2005] 互不侵犯
$\mathscr{CODE}$ #include<bits/stdc++.h> using namespace std; #define cint const unsigned& #define maxn 1005 unsigned long long cnt,dp[10][maxn][82]; unsigned n,K,st…