foo.cc:27:1: error: 'unorder_map' does not name a type
unorder_map<char, int> cnt;
^~~~~~~~~~~
foo.cc: In function 'void solve()':
foo.cc:40:32: error: 'cnt' was not declared in this scope
for(int i = 0; i < n; i++) cnt[str[i]]++;
^~~
foo.cc:40:32: note: suggested alternative: 'int'
for(int i = 0; i < n; i++) cnt[str[i]]++;
^~~
int
foo.cc:41:19: error: 'cnt' was not declared in this scope
for(auto &x : cnt) {
^~~
foo.cc:41:19: note: suggested alternative: 'int'
for(auto &x : cnt) {
^~~
int
[Hydro](https://hydro.ac)提供评测服务