/in/foo.cc: In function 'int main()':
/in/foo.cc:25:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10005]' [-Wformat=]
scanf("%s",&c);
^
/in/foo.cc:32:14: warning: array subscript has type 'char' [-Wchar-subscripts]
++noo[c[j]];
^
/in/foo.cc:35:14: warning: array subscript has type 'char' [-Wchar-subscripts]
++noo[c[j]];
^
/in/foo.cc:23:22: warning: unused variable 'm1' [-Wunused-variable]
int n,i,j,ans=0,tmp,m1,m2,sk;
^~
/in/foo.cc:23:25: warning: unused variable 'm2' [-Wunused-variable]
int n,i,j,ans=0,tmp,m1,m2,sk;
^~