0_0_37533858_21136.cpp:7:15: error: expected initializer before numeric constant
const int mod 1000000007;
^
0_0_37533858_21136.cpp: In function 'void build(int, int, int)':
0_0_37533858_21136.cpp:21:34: error: 'mod' was not declared in this scope
t[k]=((t[k<<1])*(t[k<<1|1]))%mod;
^
0_0_37533858_21136.cpp: In function 'void upd(int, int, int, int, int)':
0_0_37533858_21136.cpp:50:25: error: 'mod' was not declared in this scope
t[ind]=(t[rt]*t[rt+1])%mod;
^
0_0_37533858_21136.cpp: In function 'long long int query(int, int, int, int, int)':
0_0_37533858_21136.cpp:59:48: error: 'mod' was not declared in this scope
if(l<=mid) ans=(ans*query(L,mid,l,r,k<<1))%mod;
^
0_0_37533858_21136.cpp:60:51: error: 'mod' was not declared in this scope
if(r>mid) ans=(ans*query(mid+1,R,l,r,k<<1|1))%mod;
^
0_0_37533858_21136.cpp:61:16: error: 'mod' was not declared in this scope
return ans%mod;
^
|