/in/foo.cc: In function 'void rbuild(long long int)':
/in/foo.cc:27:40: error: 'Min' was not declared in this scope
for(int i=(p-1)*bloc+1;i<=Min(p*bloc,n);i++)
^
/in/foo.cc: In function 'void add(long long int, long long int, long long int)':
/in/foo.cc:33:32: error: 'Min' was not declared in this scope
for(int i=l;i<=Min(bloc*b[l],r);i++) (val[i]+=x)%=mod;
^
/in/foo.cc: In function 'long long int query(long long int, long long int, long long int, long long int)':
/in/foo.cc:45:32: error: 'Min' was not declared in this scope
for(int i=l;i<=Min(b[l]*bloc,r);i++)
^