Codeforces Round #851 (Div. 2) 2023-2-10 20:34 | 466 | C++,Codeforces,dp,线段树 | starry | 0 223 字 | 11 分钟 E. Sum Over Zero 搞半天是数组开小了... #include<bits/stdc++.h> using namespace std; using ll=long long; int P; //assume -P <= x < 2P int norm (int x) { if (x < 0) { x += P;…