/in/foo.cc: In function 'void solve()':
/in/foo.cc:58:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
x=y=z=w=f1=f2=f3=top=0;
~~~^~
/in/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++)
~~~^~~~~~~
/in/foo.cc:60:2: note: in expansion of macro 'F'
F(i,0,s.size()-1)
^
/in/foo.cc:95:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(z&&!f1||f1&&z<x||f1&&z==x&&f3)
~^~~~~
/in/foo.cc:95:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(z&&!f1||f1&&z<x||f1&&z==x&&f3)
~~~~~~~~^~~~