求助为什么不能dfs

P1341 无序字母对

不对,发现了一个问题: ```cpp while (i != 'z') ``` 应该改成: ```cpp while (i <= 'z') ```
by PeterWinchester @ 2021-07-23 09:48:24


改了还是TLE。QAQ
by PeterWinchester @ 2021-07-23 09:49:28


因为你回溯时把vis置为0了,找欧拉路不需要置为0,~~虽然我也不知道为什么~~
by 966123anyunchuan @ 2021-10-17 01:31:45


|