smoj 图论专题题单 CF508D Tanya and Password 对于一个 abcabcabc 的串,连一条 (ab→bc)(ab \rightarrow bc)(ab→bc) 的边。然后判欧拉路劲即可。