QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#710909 | #9576. Ordainer of Inexorable Judgment | ucup-team5109 | Compile Error | / | / | C++23 | 3.6kb | 2024-11-04 23:02:02 | 2024-11-04 23:02:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In member function ‘Point Point::operator+(const Point&) const’: answer.code:29:64: error: could not convert ‘(((((double)((const Point*)this)->Point::x) + ((double)b.Point::x)) + ((double)((const Point*)this)->Point::y)) + ((double)b.Point::y))’ from ‘double’ to ‘Point’ 29 | Point operator+(const Point &b) const { return x + b.x + y + b.y; } | ~~~~~~~~~~~~^~~~~ | | | double