Main.cc: In function ‘void uc(long long int, long long int)’:
Main.cc:33:2: error: ‘RV’ was not declared in this scope
RV.push({x,T[x]});
^~
Main.cc: In function ‘void ud(long long int, long long int)’:
Main.cc:42:2: error: ‘RV’ was not declared in this scope
RV.push({x,T[x]});
^~
Main.cc: In function ‘void bd(long long int, long long int, long long int)’:
Main.cc:66:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~
Main.cc: In function ‘void chkmodc(long long int, long long int, long long int, long long int, long long int, long long int)’:
Main.cc:82:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~
Main.cc: In function ‘void chkmodd(long long int, long long int, long long int, long long int, long long int, long long int)’:
Main.cc:97:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~
Main.cc: In function ‘void chkmodcrv(long long int, long long int, long long int, long long int, long long int, long long int)’:
Main.cc:115:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~
Main.cc: In function ‘void chkmoddrv(long long int, long long int, long long int, long long int, long long int, long long int)’:
Main.cc:133:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~
Main.cc: In function ‘long long int gt(long long int, long long int, long long int, long long int, long long int)’:
Main.cc:146:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~
Main.cc: In function ‘int main()’:
Main.cc:174:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
#define rd(x) scanf("%lld",&x)
~~~~~^~~~~~~~~~~
Main.cc:180:2: note: in expansion of macro ‘rd’
rd(t);
^~
Main.cc:174:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
#define rd(x) scanf("%lld",&x)
~~~~~^~~~~~~~~~~
Main.cc:182:3: note: in expansion of macro ‘rd’
rd(n);
^~
Main.cc:185:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
s[i]=b[i],
^
Main.cc:185:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Main.cc:185:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Main.cc:185:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]