摘要: CSP-S模拟31 A. 远征 (expedition) 简单题,直接大力 \(O(nV)\) 预处理 对于每个数每个位置 记录这个数下一个会被更改的位置。 查询直接跳即可,复杂度是 \(O(\log V)\) Code: #include<bits/stdc++.h> using namespac 阅读全文
posted @ 2025-10-14 22:12 Wy_x 阅读(21) 评论(1) 推荐(2)