/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:16:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (c=getchar(),c<'0'||c>'9') if (c=='-') d=1;f=f*10+c-48;
^~~~~
/in/foo.cc:16:54: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (c=getchar(),c<'0'||c>'9') if (c=='-') d=1;f=f*10+c-48;
^
/in/foo.cc: In function 'void work()':
/in/foo.cc:6:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define r(i,a,b) for (int i=a;i<=b;i++)
/in/foo.cc:50:7:
r(i,0,strlen(s)-1)
~~~~~~~~~~~~~~~
/in/foo.cc:50:5: note: in expansion of macro 'r'
r(i,0,strlen(s)-1)
^