QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#662375 | #8523. Puzzle II | ucup-team4740# | Compile Error | / | / | C++17 | 2.6kb | 2024-10-20 23:29:23 | 2024-10-20 23:29:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:125:12: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive] 125 | List A(1); | ^ | | | int answer.code:21:15: note: initializing argument 1 of ‘List::List(int*)’ 21 | List(int *x) | ~~~~~^ answer.code:126:12: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive] 126 | List B(2); | ^ | | | int answer.code:21:15: note: initializing argument 1 of ‘List::List(int*)’ 21 | List(int *x) | ~~~~~^