/ Vijos /

记录详情

Compile Error

/in/foo.cc:10:1: error: 'map' does not name a type
 map<char,int>mp;
 ^~~
/in/foo.cc: In function 'bool cmp(int, int)':
/in/foo.cc:14:12: error: 'mp' was not declared in this scope
         if(mp[a[x][i]]<mp[a[y][i]]) return 1;
            ^~
/in/foo.cc:15:12: error: 'mp' was not declared in this scope
         if(mp[a[x][i]]>mp[a[y][i]]) return 0;
            ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:9: error: 'mp' was not declared in this scope
         mp[t]=i;
         ^~

信息

递交者
类型
递交
题目
P1500 笨笨的单词排序
语言
C++
递交时间
2019-11-04 22:05:14
评测时间
2019-11-04 22:05:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes