QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#44926 | #4561. Catfish Farm | HuangHanSheng | Compile Error | / | / | C++17 | 410b | 2022-08-22 11:44:21 | 2022-08-22 11:44:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’: answer.code:19:12: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 19 | return max(sumL, sumR); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from answer.code:4: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~