摘要:
#include<cstdio>#include<iostream>#include<cstring>#include<algorithm>#define N 310#define M 50010#define inf 1<<30using namespace std;int dp[21][21][21];int main(){ int a,b,c,i,j; memset(dp,0,sizeof(dp)); for(i=0;i<=20;i++) for(j=0;j<=20;j++) { dp[0... 阅读全文
摘要:
递归版sap:#include#include#include#include#define N 310#define M 50010#define inf 1=n)return flow-lv; if(lv==0) break; } if(d[v]#include#include#include#include#define Maxn 6010#define Maxm 200000#define LL __int64#define Abs(a) (a)>0?(a):(-a)using namespace std;str... 阅读全文