/in/foo.cc: In function 'int main()':
/in/foo.cc:12:17: error: 'dis' was not declared in this scope; did you mean 'div'?
12 | dis[a]=b;
| ^~~
| div
/in/foo.cc:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;;i<s.size();i++)
| ~^~~~~~~~~
/in/foo.cc:15:23: warning: value computed is not used [-Wunused-value]
/in/foo.cc:15:32: error: expected ')' before ';' token
15 | for(int i=0;;i<s.size();i++)
| ~ ^
| )
/in/foo.cc:15:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
15 | for(int i=0;;i<s.size();i++)
| ^~~
/in/foo.cc:15:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
15 | for(int i=0;;i<s.size();i++)
| ^
/in/foo.cc:15:33: error: 'i' was not declared in this scope