版本比较
模板库
正文
增加 2 行删除 2 行
31 行未改动32333435363637383940192 行未改动全部展开233234235236237237238239240241350 行未改动全部展开31 行未改动 } template <typename T,typename ...Y> inline void read(T &x,Y&... X){read(x);read(X...);} inline int readi(){static int res;read(res);return res;} inline long long readll(){static long long res;read(res);return res;} inline long long readll(){static long long res;read(res);return res;} inline void flush(){ fwrite(obuf,sizeof(char),onow - obuf,stdout); fflush(stdout); onow = obuf;192 行未改动全部展开 } } return res; }
Type maxflow(ci s,ci t){ Type res = 0; while(bfs(s,t)){ std::copy_n(head + 1,t,cur + 1);350 行未改动全部展开