摘要:
C. Fox And Names https://codeforces.com/problemset/problem/510/C 思路 使用拓扑序算法,找出前后的依赖的可能情况。 如果拓扑序未找到所有的节点,表明存在依赖环,这种情况不满足。 Code https://codeforces.com/p 阅读全文
摘要:
E - Make it Palindrome https://atcoder.jp/contests/abc290/tasks/abc290_e 思路 参考: https://zhuanlan.zhihu.com/p/608325900 双指针部分,添加解释: Code https://zhuanl 阅读全文