记录详情

Accepted

/in/foo.cc: In constructor 'Date::Date(int, int, int)':
/in/foo.cc:10:18: warning: 'Date::year' will be initialized after [-Wreorder]
  int day, month, year;
                  ^~~~
/in/foo.cc:10:11: warning:   'int Date::month' [-Wreorder]
  int day, month, year;
           ^~~~~
/in/foo.cc:12:2: warning:   when initialized here [-Wreorder]
  Date(int y=2000,int m=1,int d=1) :year(y),month(m),day(d){}
  ^~~~
/in/foo.cc:10:11: warning: 'Date::month' will be initialized after [-Wreorder]
  int day, month, year;
           ^~~~~
/in/foo.cc:10:6: warning:   'int Date::day' [-Wreorder]
  int day, month, year;
      ^~~
/in/foo.cc:12:2: warning:   when initialized here [-Wreorder]
  Date(int y=2000,int m=1,int d=1) :year(y),month(m),day(d){}
  ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 208.0 KiB
#2 Accepted 3ms 228.0 KiB
#3 Accepted 4ms 216.0 KiB
#4 Accepted 5ms 224.0 KiB
#5 Accepted 5ms 224.0 KiB
#6 Accepted 6ms 228.0 KiB
#7 Accepted 8ms 332.0 KiB
#8 Accepted 8ms 352.0 KiB
#9 Accepted 9ms 332.0 KiB
#10 Accepted 9ms 228.0 KiB

信息

递交者
类型
递交
题目
P1007 12.12 Payroll System Modification
语言
C++
递交时间
2020-03-20 20:34:29
评测时间
2020-03-20 20:34:29
评测机
分数
100
总耗时
64ms
峰值内存
352.0 KiB