QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#44734 | #4561. Catfish Farm | GuanYunchang | Compile Error | / | / | C++17 | 5.6kb | 2022-08-21 12:48:29 | 2022-08-21 12:48:30 |
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:58:36: error: ‘max_k’ was not declared in this scope 58 | if (dp_inc[i-2][k] > max_k) max_k = dp_inc[i-2][k]; | ^~~~~ answer.code:59:36: error: ‘max_k’ was not declared in this scope 59 | if (dp_dec[i-2][k] > max_k) max_k = dp_dec[i-2][k]; | ^~~~~