Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

SNOI Feast
Difference between en1 and en2, changed 48 character(s)
Hi I've been looking at solutions for https://oj.uz/problem/view/NOI19_feast and I saw some kind of binary search but I don't really understand the idea behind it. Can someone help? Thanks↵

Given an array of n integers, split it into at most k subarray that are pair-wise disjoint
 so that the sum of those subarray are maximized.↵

N, K <= 3e5↵

|Ai| <= 1e9

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Sammmmmmm 2023-07-24 13:07:39 48
en1 English Sammmmmmm 2023-07-24 13:07:09 323 Initial revision (published)