QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#325316 | #4830. Transfer of Duty | ucup-team1626 | Compile Error | / | / | C++14 | 832b | 2024-02-11 07:52:27 | 2024-02-11 07:52:27 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘long long int rng()’: answer.code:16:1: warning: no return statement in function returning non-void [-Wreturn-type] 16 | } | ^ answer.code: At global scope: answer.code:18:1: error: ‘map’ does not name a type 18 | map <ll,int> mp; | ^~~ answer.code: In function ‘int main()’: answer.code:29:9: error: ‘mp’ was not declared in this scope 29 | mp[val[i]] = i; | ^~ answer.code:42:12: error: ‘mp’ was not declared in this scope 42 | if(mp.find(x) == mp.end()){ | ^~