Closed yosupo06 closed 9 months ago
辞書順最小の~が必要になったが、これもやるかどうか。
とりあえず案を書きます。辞書順最小とかはなしで。
グラフが与えられる。Eulerian Trail があるか判定し、あれば次の形式で出力せよ。
頂点の列と辺の列という形式(https://judge.yosupo.jp/problem/cycle_detection_undirected)
Yes
v_0 v_1 ... v_n
e_0 e_1 ... e_{n-1}
No になる定式化、ありましたっけ。すべての辺を通るものを想定していました。
作業者募集で。
有向・無向のどちらかだけでもよいです。
作ります。
予定
euler tour / pathなどをどうするか?
全部まとめる?