Loading

CF1463E Plan of Lectures

手伤了不是很能打代码,写短一点。

相邻限制缩一起,\(a_i \to i\) 连边跑拓扑序即可。

posted @ 2025-11-07 19:56  Alexande  阅读(4)  评论(0)    收藏  举报