/in/foo.cc:84:5: warning: missing terminating " character
","r",stdin);
^
/in/foo.cc:84:5: error: missing terminating " character
","r",stdin);
^~~~~~~~~
/in/foo.cc: In function 'void update(int, int, int, int, int)':
/in/foo.cc:30:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int qs(int, int, int, int, int)':
/in/foo.cc:39:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:84:1: error: unable to find string literal operator 'operator""r' with 'const char [2]', 'long unsigned int' arguments
","r",stdin);
^~~~
/in/foo.cc:90:17: error: 'x' was not declared in this scope
scanf("%d%d",&x,&y);
^
/in/foo.cc:90:20: error: 'y' was not declared in this scope
scanf("%d%d",&x,&y);
^
/in/foo.cc:98:16: error: 'x' was not declared in this scope
scanf("%d",&x);A.tim=tot;A.op=0;
^
/in/foo.cc:103:16: error: 'x' was not declared in this scope
scanf("%d",&x);A.tim=tot;A.op=1;A.id=cnt;
^