摘要:
```#include#include#include#includeusing namespace std;typedef long long ll;const int N=15,K=110,M=1head[M];vectorstate;bool check(int x){ for(int i=0; i+1>i&1) && (x>>i+1&1)) return false; return t... 阅读全文
posted @ 2020-05-14 13:02
晴屿
阅读(119)
评论(0)
推荐(0)
摘要:
``` #include #include #include #include using namespace std; const int N=310; int n,m; int h[N],e[N],ne[N],idx; int w[N]; int f[N][N]; void add(int a,int b) { e[idx]=b; ne[idx]=h[a]; h[a]=idx++; } voi 阅读全文
posted @ 2020-05-14 01:44
晴屿
阅读(117)
评论(0)
推荐(0)