Stay Hungry,Stay Foolish!

摘要: D - Restricted Permutation https://atcoder.jp/contests/abc223/tasks/abc223_d 思路 https://zhuanlan.zhihu.com/p/135094687 利用拓扑排序方法, 先找入度为0的点,建立优先队列,包括: 2 阅读全文
posted @ 2023-02-06 23:03 lightsong 阅读(12) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel