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