摘要: 0.前言 没想到 AK 了基础赛。写篇比赛题解纪念一下。 T1 判断 \(l_i-r_{i-1}\ge t\) 即可,如果满足,\(ans\gets ans+l_i-r_{i-1}-t\)。 T2 暴力做即可,复杂度 \(O(n^2m)\)。 #include <bits/stdc++.h> usi 阅读全文
posted @ 2025-04-19 17:52 Ascnbeta 阅读(20) 评论(0) 推荐(0)