Borderou de evaluare (job #2508296)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 11 decembrie 2019 21:00:21
Problema Arbxyz Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In constructor 'Graf::Graf(int, int, int, int)': main.cpp:28:6: warning: 'Graf::n' will be initialized after [-Wreorder] int n; ^ main.cpp:27:6: warning: 'int Graf::x' [-Wreorder] int x, y, z; ^ main.cpp:30:2: warning: when initialized here [-Wreorder] Graf(int n, int x, int y, int z) : n(n), x(x), y(y), z(z), adj(n), euler(2 * n - 1), siz(n), in(n), out(n) ^~~~ main.cpp:27:12: warning: 'Graf::z' will be initialized after [-Wreorder] int x, y, z; ^ main.cpp:12:25: warning: 'std::vector<std::vector<int> > Graf::adj' [-Wreorder] vector <vector <int> > adj; ^~~ main.cpp:30:2: warning: when initialized here [-Wreorder] Graf(int n, int x, int y, int z) : n(n), x(x), y(y), z(z), adj(n), euler(2 * n - 1), siz(n), in(n), out(n) ^~~~ main.cpp: At global scope: main.cpp:142:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ main.cpp: In member function 'bool Graf::get(int, int, int, int)': main.cpp:79:2: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbIncorect0
23ms131kbOK10
311ms262kbIncorect0
411ms262kbOK10
553ms638kbOK10
649ms581kbOK10
791ms888kbOK10
8525ms6488kbOK10
91127ms8007kbOK10
101066ms8007kbOK10
Punctaj total80

Ceva nu functioneaza?