记录详情

Wrong Answer

foo.cc: In constructor 'Person::Person(std::string, int, int, int, int, int, int)':
foo.cc:30:16: warning: 'Person::p' will be initialized after [-Wreorder]
   30 |         string p;
      |                ^
foo.cc:32:95: warning:   base 'Date' [-Wreorder]
   32 |         Person(string p,int a1,int a2,int a3,int a4,int a5,int a6):p(p),Date(a1,a2,a3,a4,a5,a6)
      |                                                                                               ^
foo.cc:32:9: warning:   when initialized here [-Wreorder]
   32 |         Person(string p,int a1,int a2,int a3,int a4,int a5,int a6):p(p),Date(a1,a2,a3,a4,a5,a6)
      |         ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Wrong Answer Read Date,is,Constructed:,2000-1-1, expect Date,is,Constructed:,2000-1-1. 1ms 328.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Wrong Answer Read Date,is,Constructed:,2000-1-2, expect Date,is,Constructed:,2000-1-2. 1ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1038 OO9-1 组合了日期类的人类的一生
比赛
2023春面向对象的程序设计方法(3)
语言
C++
递交时间
2023-05-27 14:08:18
评测时间
2023-05-27 14:08:18
评测机
分数
60
总耗时
9ms
峰值内存
328.0 KiB