记录详情

Accepted

foo.cc: In constructor 'Item::Item(int, int)':
foo.cc:14:9: warning: 'Item::num' will be initialized after [-Wreorder]
   14 |     int num;
      |         ^~~
foo.cc:13:9: warning:   'int Item::coef' [-Wreorder]
   13 |     int coef;
      |         ^~~~
foo.cc:16:5: warning:   when initialized here [-Wreorder]
   16 |     Item(int num,int coef):num(num),coef(coef){}
      |     ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 256.0 KiB

信息

递交者
类型
递交
比赛
(中澳班)数据结构之“线性表”
语言
C++
递交时间
2022-10-05 23:50:48
评测时间
2022-10-05 23:50:48
评测机
分数
100
总耗时
14ms
峰值内存
256.0 KiB