QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#204666 | #7567. Joining Cats | ucup-team988# | Compile Error | / | / | C++14 | 3.0kb | 2023-10-07 13:37:23 | 2023-10-07 13:37:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:82:47: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘short int’ 82 | if(t <= k) chkmn(f[tl[l - 1][t]][r], t); | ~~~~~~~~~~~~~~~~~^ answer.code:39:17: note: initializing argument 1 of ‘void chkmn(int&, int)’ 39 | void chkmn(int &x, int y) { | ~~~~~^ answer.code:86:47: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘short int’ 86 | if(t <= k) chkmn(f[l][tr[r + 1][t]], t); | ~~~~~~~~~~~~~~~~~^ answer.code:39:17: note: initializing argument 1 of ‘void chkmn(int&, int)’ 39 | void chkmn(int &x, int y) { | ~~~~~^