0_0_33721978_23921.cpp: In function 'int main()':
0_0_33721978_23921.cpp:44:11: error: 'sum' was not declared in this scope
ll t2=(sum[n] - sum[i] + mod) % mod
^
0_0_33721978_23921.cpp:47:14: error: 'tt' was not declared in this scope
ans = ans+tt % mod;
^
|