【BZOJ】【P2073】【POI2004】【PRZ】【題解】【狀壓DP+枚舉子集】

傳送門:http://www.lydsy.com/JudgeOnline/problem.php?id=2073php 狀壓DP+枚舉子集 c++ Code:spa #include<bits/stdc++.h> using namespace std; int n,W; int w[18],t[18]; int dp[1<<16],sum[1<<16],tim[1<<16]; int main(
相關文章
相關標籤/搜索