摘要: // 1.数列分段 Section I //用last记录前面总和不小于m的值,如果当前值+last>m,说明last区间的为一组,然后开一个新的组 //时间复杂度o(n) #include <bits/stdc++.h> #define int long long using namespace 阅读全文
posted @ 2023-07-16 21:31 o-Sakurajimamai-o 阅读(21) 评论(0) 推荐(0)
-- --