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