题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5711
#include<bits/stdc++.h>
using namespace std;
#define debug puts("YES");
#define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++)
#define read(x,y) scanf("%d%d",&x,&y)
#define ll long long
#define lrt int l,int r,int rt
#define lson l,mid,rt<<1
#define rson mid+1,r,rt<<1|1
#define root l,r,rt
typedef pair<int,int> pii;
const int maxn =20;
const int mod=1e9+7;
const ll INF =1e18+7;
ll powmod(ll x,ll y){ll t; for(t=1;y;y>>=1,x=x*x%mod) if(y&1) t=t*x%mod; return t;}
ll gcd(ll x,ll y){return y?gcd(y,x%y):x;}
/*
题目大意:给定一张图,有点权,有边权,
要求在走出去又回到原点的所有情况中,要求
路径权值和不超过L,每个点hack次数不超过k,
每次hack一次当前点权减轻b[i],
在上述限制中求获得点权的最大值。
看题解了。。。比较难又比较妙。。。
首先对于传统的这种状压题