网络流SAP--模板
摘要:
1 #include<stdio.h> 2 #include<iostream> 3 #include<algorithm> 4 using namespace std; 5 typedef struct {int v,next,val;} edge; 6 const int MAXN=20010; 7 const int MAXM=500010; 8 edge e[MAXM]; 9 int p[MAXN],eid; 10 inline void init(){memset(p,-1,sizeof(p));eid=0;} 11 //有向 12 inline 阅读全文
posted @ 2012-08-13 21:38 acoderworld 阅读(286) 评论(0) 推荐(0)
浙公网安备 33010602011771号