QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#170385 | #7184. Transport Pluses | ucup-team1294# | Compile Error | / | / | C++11 | 2.7kb | 2023-09-09 15:08:47 | 2023-09-09 15:08:47 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void mian()’: answer.code:42:29: error: no match for ‘operator=’ (operand types are ‘stans’ and ‘<brace-enclosed initializer list>’) 42 | anst = { ppd(sp,tp) }; anst.add(0, sp); | ^ answer.code:27:8: note: candidate: ‘stans& stans::operator=(const stans&)’ 27 | struct stans { | ^~~~~ answer.code:27:8: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const stans&’ answer.code:27:8: note: candidate: ‘stans& stans::operator=(stans&&)’ answer.code:27:8: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘stans&&’