QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#773746 | #5147. Stack Sort | HuangHanSheng | Compile Error | / | / | C++98 | 359b | 2024-11-23 10:13:19 | 2024-11-23 10:13:24 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:9:9: error: ‘unordered_map’ was not declared in this scope 9 | unordered_map<int,int> M ; | ^~~~~~~~~~~~~ answer.code:9:9: note: ‘std::unordered_map’ is only available from C++11 onwards answer.code:9:23: error: expected primary-expression before ‘int’ 9 | unordered_map<int,int> M ; | ^~~ answer.code:14:17: error: ‘M’ was not declared in this scope 14 | if(!M[t+1]){ | ^ answer.code:17:13: error: ‘M’ was not declared in this scope 17 | M[t]=1; | ^