QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#168646 | #7103. Red Black Tree | ucup-team463 | Compile Error | / | / | C++17 | 5.1kb | 2023-09-08 18:26:40 | 2023-09-08 18:26:40 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:116:18: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 116 | maxdep = max(sum[u],maxdep); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from answer.code:6: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~