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)提供评测服务