记录详情

Accepted

foo.cc: In constructor 'js::js(int, int, int, int, std::string)':
foo.cc:7:11: warning: 'js::n' will be initialized after [-Wreorder]
    7 | int c,d,m,n;
      |           ^
foo.cc:7:7: warning:   'int js::d' [-Wreorder]
    7 | int c,d,m,n;
      |       ^
foo.cc:9:5: warning:   when initialized here [-Wreorder]
    9 |     js(int n,int x,int y,int j,string e):n(n),d(x),c(y),m(j),a(e){}
      |     ^~
foo.cc:7:7: warning: 'js::d' will be initialized after [-Wreorder]
    7 | int c,d,m,n;
      |       ^
foo.cc:7:5: warning:   'int js::c' [-Wreorder]
    7 | int c,d,m,n;
      |     ^
foo.cc:9:5: warning:   when initialized here [-Wreorder]
    9 |     js(int n,int x,int y,int j,string e):n(n),d(x),c(y),m(j),a(e){}
      |     ^~
foo.cc:7:9: warning: 'js::m' will be initialized after [-Wreorder]
    7 | int c,d,m,n;
      |         ^
foo.cc:6:8: warning:   'std::string js::a' [-Wreorder]
    6 | string a;
      |        ^
foo.cc:9:5: warning:   when initialized here [-Wreorder]
    9 |     js(int n,int x,int y,int j,string e):n(n),d(x),c(y),m(j),a(e){}
      |     ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 19ms 540.0 KiB
#2 Accepted 10ms 540.0 KiB
#3 Accepted 22ms 540.0 KiB
#4 Accepted 25ms 540.0 KiB
#5 Accepted 22ms 564.0 KiB

信息

递交者
类型
递交
题目
P1424 1-2 狗和猫
比赛
2023暑假集训7月3日训练题
语言
C++
递交时间
2023-07-03 09:41:31
评测时间
2023-07-03 09:41:31
评测机
分数
100
总耗时
100ms
峰值内存
564.0 KiB