摘要: https://codeforces.com/contest/1491/problem/C 贪心,从左往右每一轮只需要每个长度跳第一次,可以用差分数组维护每个点被踩的次数。 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0 阅读全文
posted @ 2021-03-04 20:02 Venux 阅读(45) 评论(0) 推荐(0) 编辑