题目大意

你有一个序列${a_i}$,你要找出$k$个不相同的区间$[l_i,r_i]$,满足$\forall \; i, (r_i-l_i+1) \in [L, R]$,使得这些区间的和最大。

求这个最大值

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×