0_0_24248439_2697.cpp: In member function 'void Seg::upd(int, int, int, int, int, ll)': 0_0_24248439_2697.cpp:111:33: error: 'v' was not declared in this scope sum[i] -= (ll)mxnum[i]*(mx[i]-v); ^