0_0_33848205_8176.cpp:5:11: error: redefinition of 'const int mod'
const int mod=998244353;
^
0_0_33848205_8176.cpp:4:11: note: 'const int mod' previously defined here
const int mod=1e9+7;
^
0_0_33848205_8176.cpp: In member function 'void Solve::update(int, int, int, int, int&)':
0_0_33848205_8176.cpp:52:37: error: 'MOD' was not declared in this scope
tr[rt]=(1ll*tr[ls[rt]]*V[mid-l+1]%MOD+tr[rs[rt]])%MOD;
^
|