记录详情

Wrong Answer

/in/foo.cc: In constructor 'DateTime::DateTime(int, int, int, int, int, int)':
/in/foo.cc:64:7: warning: 'DateTime::d' will be initialized after [-Wreorder]
  Date d;
       ^
/in/foo.cc:63:7: warning:   'Time DateTime::t' [-Wreorder]
  Time t;
       ^
/in/foo.cc:66:2: warning:   when initialized here [-Wreorder]
  DateTime(int y, int m, int d, int h, int mm, int s) :d(y, m, d), t(h, mm, s) {}
  ^~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 400.0 KiB
#2 Wrong Answer 1ms 344.0 KiB
#3 Wrong Answer 1ms 360.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 336.0 KiB

信息

递交者
类型
递交
题目
P1006 OO1-5 日期时间类DateTime
语言
C++
递交时间
2024-05-29 16:09:54
评测时间
2024-05-29 16:09:54
评测机
分数
0
总耗时
6ms
峰值内存
400.0 KiB