【題解】poj2230 Watchcow 歐拉回路

題目鏈接 (截圖鬼才) 題目要求走雙向的,那標記時不要同時把反邊標記了就好了 #include<cstdio> const int N=1e5+10,M=1e6+10; struct Edge{ int v,nx; }e[M]; int n,m,hd[N],tot=1,vis[M],ans[M],top; void add(int u,int v) { e[++tot].v=v; e[tot
相關文章
相關標籤/搜索