QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#856646 | #9807. Make Them Believe | HuangHanSheng | Compile Error | / | / | C++98 | 368b | 2025-01-14 15:01:13 | 2025-01-14 15:01:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:17:14: error: ‘n1’ does not name a type 17 | auto n1 = team.find(a[7]); | ^~ answer.code:18:14: error: ‘n2’ does not name a type 18 | auto n2 = team.find(a[6]); | ^~ answer.code:19:17: error: ‘n1’ was not declared in this scope; did you mean ‘y1’? 19 | cout << n1->second << " beats " << n2->second; | ^~ | y1 answer.code:19:44: error: ‘n2’ was not declared in this scope 19 | cout << n1->second << " beats " << n2->second; | ^~