/in/foo.cc: In function 'void fuck(int&, bool)':
/in/foo.cc:10:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
mid=l+r>>1;
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:2:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define fo(i,l,r) for(int i=l;i<=r;i++)
/in/foo.cc:21:5:
fo(i,0,s.size()-1){
~~~~~~~~~~~~~~
/in/foo.cc:21:2: note: in expansion of macro 'fo'
fo(i,0,s.size()-1){
^~
/in/foo.cc: In function 'void fuck(int&, bool)':
/in/foo.cc:14:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[ans+1]=x[i];
~~~^~