QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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) { | ~~~~~^