F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_10856709_31837.cpp: In member function `Point Point::operator-(const Point&)':
0_0_10856709_31837.cpp:15: error: subobject of type `Point' must be initialized by constructor, not by `{(((Point*)this)->Point::x - ((double)B->Point::x)), (((Point*)this)->Point::y - ((double)B->Point::y))}'
0_0_10856709_31837.cpp: In member function `Point Point::operator+(const Point&)':
0_0_10856709_31837.cpp:19: error: subobject of type `Point' must be initialized by constructor, not by `{(((Point*)this)->Point::x + ((double)B->Point::x)), (((Point*)this)->Point::y + ((double)B->Point::y))}'
0_0_10856709_31837.cpp: In member function `Point Point::operator*(const double&)':
0_0_10856709_31837.cpp:27: error: subobject of type `Point' must be initialized by constructor, not by `{(((Point*)this)->Point::x * ((double)B)), (((Point*)this)->Point::y * ((double)B))}'


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-02 08:33:38, Gzip enabled