摘要: 题面: 链接:https://www.luogu.com.cn/problem/P3916 思路:反向遍历图 啊卡了好久,如果正序来的话还得考虑环和先后次序的问题 代码: #include<iostream> #include<vector> #include<algorithm> #include 阅读全文
posted @ 2024-05-08 17:24 WHUStar 阅读(17) 评论(0) 推荐(0)