Borderou de evaluare (job #639040)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Flota | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 mar. 2022 11:15:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'branch::branch(int, int, int)':
main.cpp:10:17: warning: 'branch::v' will be initialized after [-Wreorder]
10 | int width, u, v;
| ^
main.cpp:10:7: warning: 'int branch::width' [-Wreorder]
10 | int width, u, v;
| ^~~~~
main.cpp:11:3: warning: when initialized here [-Wreorder]
11 | branch(int u, int v, int width) : u(u), v(v), width(width){}
| ^~~~~~
main.cpp: At global scope:
main.cpp:59:8: error: ISO C++ forbids declaration of 'countRes' with no type [-fpermissive]
59 | inline countRes(const int &width){
| ^~~~~~~~