Wrong Answer
foo.cc: In function 'int main()': foo.cc:32:45: warning: iteration 3000007 invokes undefined behavior [-Waggressive-loop-optimizations] 32 | pre_sumX[i]=pre_sumX[i-1]+bucket_X[i]; | ~~~~~~~~~~^ foo.cc:30:19: note: within this loop 30 | for(int i=1; i<=MAX_M; ++i) | ~^~~~~~~
正在同步测试数据,请稍后 [Hydro](https://hydro.ac)提供评测服务