/in/foo.cc: In function 'bool search(int)':
/in/foo.cc:36:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)Used[i]=false;Used[LO]=true;
^~~
/in/foo.cc:36:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;i++)Used[i]=false;Used[LO]=true;
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:87:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(pos<C.length())
~~~^~~~~~~~~~~