QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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) | ~~~~~^