Wrong Answer
/in/foo.cc: In constructor 'Package::Package(Person&, Person&, double, double)': /in/foo.cc:40:12: warning: 'Package::recipient' will be initialized after [-Wreorder] Person recipient; ^~~~~~~~~ /in/foo.cc:36:12: warning: 'double Package::weight' [-Wreorder] double weight; ^~~~~~ /in/foo.cc:41: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 11:29:39
- 评测时间
- 2020-03-16 11:29:39
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 216.0 KiB