有没有一种可能是因为你原题写的就是能过这个题的做法(
by Sprague_Garundy @ 2023-11-14 14:55:02
@[Sprague_Garundy](/user/764746)
确实有可能,不过做法应该大多都是找SCC统计入度出度吧(•‾̑⌣‾̑•)✧
by dd13613311929 @ 2023-11-14 15:09:05
问题在于加强版的数据跑地比原题还快:
[原题41ms](https://www.luogu.com.cn/record/158138338)|[加强后10ms](https://www.luogu.com.cn/record/158138547)
by Albatross_LC @ 2024-05-05 17:48:51