QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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]; | ^~~~~