QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#462441 | #6885. Simple Tree Problem | GuanYunchang | Compile Error | / | / | C++20 | 3.8kb | 2024-07-03 19:21:29 | 2024-07-03 19:21:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int get(int, int, int)’: answer.code:81:28: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 81 | if (l & 1) ans = max(ans, T[type][l++]); | ^~~ | abs answer.code:82:31: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 82 | if (!(r & 1)) ans = max(ans, T[type][r--]); | ^~~ | abs answer.code:86:16: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 86 | return ans; | ^~~ | abs