Wrong Answer
/in/foo.cc: In constructor 'Package::Package(Person, Person, double, double)': /in/foo.cc:35:9: warning: 'Package::recip' will be initialized after [-Wreorder] Person recip; ^~~~~ /in/foo.cc:32:9: warning: 'double Package::weight' [-Wreorder] double weight; ^~~~~~ /in/foo.cc:82:1: warning: when initialized here [-Wreorder] Package::Package(Person a,Person b,double w, double p) ^~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1005 11.9 Package_Inheritance
- 语言
- C++
- 递交时间
- 2020-03-20 16:31:27
- 评测时间
- 2020-03-20 16:31:27
- 评测机
- 分数
- 20
- 总耗时
- 10ms
- 峰值内存
- 228.0 KiB