/in/foo.cc: In function 'int main()':
/in/foo.cc:19:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(j=2;j<=n;j++)
      ^~~
/in/foo.cc:21:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     if(k==0) p=(int)s[i][1][0];
     ^~
/in/foo.cc:22:17: warning: array subscript has type 'char' [-Wchar-subscripts]
     a[s[i][1][0]]=k;
                 ^
/in/foo.cc:30:51: warning: array subscript has type 'char' [-Wchar-subscripts]
     cout<<(char)s[i][1][0]<<"="<<(int)a[s[i][1][0]]<<" ";
                                                   ^