记录详情

Accepted

/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:83:1: warning:   when initialized here [-Wreorder]
 Package::Package(Person a,Person b,double w, double p) 
 ^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 2ms 216.0 KiB
#3 Accepted 2ms 228.0 KiB
#4 Accepted 2ms 216.0 KiB
#5 Accepted 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P1005 11.9 Package_Inheritance
语言
C++
递交时间
2020-03-20 16:43:20
评测时间
2020-03-20 16:43:20
评测机
分数
100
总耗时
10ms
峰值内存
228.0 KiB