Codeforces Problemset problem 1129 B Wrong Answer —— 构造数组
Considerthefollowingproblem:givenanarrayacontainingnintegers(indexedfrom0ton−1),findmax0≤l≤r≤n−1∑l≤i≤r(r−l+1)⋅ai.Inthisproblem,1≤n≤2000and|ai|≤106.Inanattempttosolvetheproblemdescribed,Alicequicklycam