0_0_30339425_24853.cpp: In function 'int main()': 0_0_30339425_24853.cpp:24:36: error: expected ';' before ')' token cout<<sum[r]-sum[l]+mod)%mod<<endl; ^