foo.cc: In function 'int get()':
foo.cc:17:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define F(i,start,end) for(R int (i)=(start);(i)<=(end);i++)
~~~^~~~~~~
foo.cc:61:2: note: in expansion of macro 'F'
F(i,0,s.size()-1)
^
foo.cc: In function 'void solve()':
foo.cc:68:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
x=y=z=w=f1=f2=f3=top=0;
~~~^~
foo.cc:17:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define F(i,start,end) for(R int (i)=(start);(i)<=(end);i++)
~~~^~~~~~~
foo.cc:70:2: note: in expansion of macro 'F'
F(i,0,s.size()-1)
^
foo.cc:114:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(z&&!f1||f1&&x!=z)
~^~~~~
[Hydro](https://hydro.ac)提供评测服务