/ JoyAc /

记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
自测
题目
P1031 笨小猴
语言
C++
递交时间
2021-11-09 22:53:31
评测时间
2021-11-09 22:53:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes