yosupo06 / library-checker-problems

The problem data (Test case generator, judge's solution, task, ...) of Library Checker
https://judge.yosupo.jp/
Apache License 2.0
521 stars 118 forks source link

[問題案]オイラー路 #25

Closed yosupo06 closed 9 months ago

yosupo06 commented 5 years ago

euler tour / pathなどをどうするか?

全部まとめる?

maspypy commented 2 years ago

辞書順最小の~が必要になったが、これもやるかどうか。

maspypy commented 1 year 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}
noshi91 commented 1 year ago
maspypy commented 1 year ago

No になる定式化、ありましたっけ。すべての辺を通るものを想定していました。

maspypy commented 1 year ago

作業者募集で。

maspypy commented 1 year ago

有向・無向のどちらかだけでもよいです。

maspypy commented 9 months ago

作ります。

予定