摘要: Educational Codeforces Round 171 D. Sums of Segments 定义四个前缀和: \(s_i=a_1+a_2+\dots+a_i\) \(u_i=s_1+s_2+\dots+s_i\) \(t_i=s(i,i)+s(i,i+1)+\dots+s(i,n)\) 阅读全文
posted @ 2024-10-30 17:07 xde_yt 阅读(67) 评论(0) 推荐(0)