/in/foo.cc: In function 'int main()':
/in/foo.cc:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size()-1;i++)
~^~~~~~~~~~~
/in/foo.cc:10:13: error: 'a' was not declared in this scope
cnt[a[i]]++;
^
/in/foo.cc:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<s.size()-1;i++)
^~~
/in/foo.cc:11:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=97;i<123;i++)
^~~