/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:11:11: warning: variable 'f' set but not used [-Wunused-but-set-variable]
  x=0;bool f=false;char ch=getchar();
           ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:20:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while (pt<=n) a[++pt]=getchar()-'0';L=n;
  ^~~~~
/in/foo.cc:20:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  while (pt<=n) a[++pt]=getchar()-'0';L=n;
                                      ^
/in/foo.cc:27:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for (int i=L+1;i>p+1;i--) a[i]=a[i-1];a[p+1]=c;L++;
    ^~~
/in/foo.cc:27:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    for (int i=L+1;i>p+1;i--) a[i]=a[i-1];a[p+1]=c;L++;
                                          ^
/in/foo.cc:31:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for (int i=p;i<=L;i++) a[i]=a[i+1];L--;
    ^~~
/in/foo.cc:31:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    for (int i=p;i<=L;i++) a[i]=a[i+1];L--;
                                       ^