/in/foo.cc:124:34: warning: character constant too long for its type
debug("%d %d\n",ans1[i],ans2[i]);
^
/in/foo.cc: In function 'void modify(tnode*, int, node)':
/in/foo.cc:64:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
R int mid=i->l+i->r>>1;
~~~~^~~~~
/in/foo.cc: In function 'node query(tnode*, int, int)':
/in/foo.cc:77:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(ql==i->l&&qr==i->r||!i->s[0])return i->v;
~~~~~~~~^~~~~~~~~~
/in/foo.cc: In member function 'bool po::operator<(const po&) const':
/in/foo.cc:85:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return x<p.x || x==p.x && y<p.y;
~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:124:35: warning: statement has no effect [-Wunused-value]
debug("%d %d\n",ans1[i],ans2[i]);
^
/in/foo.cc: In instantiation of 'TT cmax(TT&, TT) [with TT = int]':
/in/foo.cc:74:14: required from here
/in/foo.cc:32:63: warning: no return statement in function returning non-void [-Wreturn-type]
template<class TT>inline TT cmax(R TT &a,R TT b){(a<b)&&(a=b);}
^
/in/foo.cc: In instantiation of 'TT cmin(TT&, TT) [with TT = int]':
/in/foo.cc:75:14: required from here
/in/foo.cc:31:63: warning: no return statement in function returning non-void [-Wreturn-type]
template<class TT>inline TT cmin(R TT &a,R TT b){(a>b)&&(a=b);}
^
FileNotFoundError('input/porta1.in',)