poj2230 Watchcow

题意:输出一条通过每条边有且只有两次的通路,把这个无向图当作有向图dfs搜一次欧拉回路。可是注意邻接矩阵存图MLE,因此我选择vector处理的邻接表。ios #include<cstdio> #include<vector> #include<stack> #include<cstring> #include<iostream> using namespace std; const int ma
相关文章
相关标签/搜索