正在加载……
← 返回 sofi 的题目列表
Maximum Positive Prefixes
类型:online_judge
Given an array of integers, rearrange it to maximize the number of positive elements in the prefix sum array. Example Input 1 -2 3 -4 5 Output 3