Wrong Answer
/in/foo.cc: In constructor 'Package::Package(Person&, Person&, double, double)': /in/foo.cc:39:12: warning: 'Package::recipient' will be initialized after [-Wreorder] Person recipient; ^~~~~~~~~ /in/foo.cc:36:12: warning: 'double Package::weight' [-Wreorder] double weight, price; ^~~~~~ /in/foo.cc:40:5: warning: when initialized here [-Wreorder] Package(Person&s ,Person&r,double w=1.0,double p=1.0) ^~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1005 11.9 Package_Inheritance
- 语言
- C++
- 递交时间
- 2020-03-16 10:36:26
- 评测时间
- 2020-03-16 10:36:26
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 216.0 KiB