QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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