<Verbatim> void recur(int now, list < int > :: iterator iter){ for(int i = 0; i < n; i++) if(g[now][i]) g[now][i]--, recur(i, ans.insert(iter, i)); } // ans.clear(), recur(0, ans.begin()); </Verbatim> * Set ALLOWTOPICCHANGE = MatthewChan, YuryKholondyrev
This topic: Main
>
ProgrammingContest
>
Code_EulerCircuit
Topic revision: r1 - 2005-11-17 - YuryKholondyrev
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback