QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#214105 | #6549. Two Missing Numbers | ucup-team660# | Compile Error | / | / | C++14 | 7.0kb | 2023-10-14 17:14:17 | 2023-10-14 17:14:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In member function ‘nimber nimber::operator*(const nimber&) const’: answer.code:216:41: error: call of overloaded ‘product(const ull&, const ull&)’ is ambiguous 216 | return {nimbers::product(x, rhs.x)}; | ~~~~~~~~~~~~~~~~^~~~~~~~~~ answer.code:170:20: note: candidate: ‘u16 nimbers::product(u16, u16)’ 170 | inline u16 product(u16 A, u16 B) {return A && B ? exp[ln[A] + ln[B]] : 0;} | ^~~~~~~ answer.code:175:20: note: candidate: ‘u32 nimbers::product(u32, u32)’ 175 | inline u32 product(u32 A, u32 B) { | ^~~~~~~ answer.code:185:20: note: candidate: ‘u64 nimbers::product(u64, u64)’ 185 | inline u64 product(u64 A, u64 B) { | ^~~~~~~ answer.code:216:51: error: could not convert ‘{<expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘nimber’ 216 | return {nimbers::product(x, rhs.x)}; | ^ | | | <brace-enclosed initializer list>