QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#573757 | #9320. Find the Easiest Problem | HuangHanSheng | Compile Error | / | / | C++11 | 513b | 2024-09-18 19:53:47 | 2024-09-18 19:53:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:16:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 16 | if(iff=="accepted"&&mp[name][id]!=-1){ | ~~~^~~~~~~~~~~~ answer.code:16:41: error: invalid types ‘std::map<char, char>::mapped_type {aka char}[char]’ for array subscript 16 | if(iff=="accepted"&&mp[name][id]!=-1){ | ^ answer.code:17:20: error: missing template arguments before ‘[’ token 17 | map[id]+=1; | ^ answer.code:18:25: error: invalid types ‘std::map<char, char>::mapped_type {aka char}[char]’ for array subscript 18 | mp[name][id]=-1; | ^ answer.code:23:23: error: expected primary-expression before ‘<<’ token 23 | cout<<<<"\n"; | ^~