QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#44924 | #4561. Catfish Farm | GuanYunchang | Compile Error | / | / | C++17 | 390b | 2022-08-22 11:43:20 | 2022-08-22 11:43:22 |
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/vector:60, from fish.h:1, from answer.code:1: /usr/include/c++/11/bits/stl_algobase.h:300:5: note: ‘std::max’ declared here 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~