/in/foo.cc: In function 'int main()':
/in/foo.cc:15:9: warning: array subscript has type 'char' [-Wchar-subscripts]
l[s[i]]++;
^
/in/foo.cc:19:21: error: missing template arguments before '[' token
if(l[i]!=0 && hash[i]>maxn) maxn=l[i];
^
/in/foo.cc:20:21: error: missing template arguments before '[' token
if(l[i]!=0 && hash[i]<minn) minn=l[i];
^
/in/foo.cc:31:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
/in/foo.cc:33:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
return 0;
^~~~~~