Borderou de evaluare (job #1666016)

Utilizator StanescuVictorStanescu Victor Laurentiu StanescuVictor Data 27 martie 2016 16:14:09
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In constructor ‘Graph::Graph()’: user.cpp:21:17: warning: ‘Graph::edges’ will be initialized after [-Wreorder] uint vertices, edges; ^ user.cpp:20:33: warning: ‘std::vector<std::vector<unsigned int> > Graph::adjacencyList’ [-Wreorder] std::vector<std::vector<uint>> adjacencyList; ^ user.cpp:23:2: warning: when initialized here [-Wreorder] Graph() : vertices(0), edges(0), adjacencyList(0) { } ^ user.cpp: In constructor ‘Graph::Graph(uint)’: user.cpp:21:17: warning: ‘Graph::edges’ will be initialized after [-Wreorder] uint vertices, edges; ^ user.cpp:20:33: warning: ‘std::vector<std::vector<unsigned int> > Graph::adjacencyList’ [-Wreorder] std::vector<std::vector<uint>> adjacencyList; ^ user.cpp:24:2: warning: when initialized here [-Wreorder] Graph(uint _vertices) : vertices(_vertices), edges(_vertices - 1), adjacencyList(_vertices) { } ^ user.cpp: In constructor ‘Graph::Graph(uint, uint, std::vector<std::vector<unsigned int> >)’: user.cpp:21:17: warning: ‘Graph::edges’ will be initialized after [-Wreorder] uint vertices, edges; ^ user.cpp:20:33: warning: ‘std::vector<std::vector<unsigned int> > Graph::adjacencyList’ [-Wreorder] std::vector<std::vector<uint>> adjacencyList; ^ user.cpp:25:2: warning: when initialized here [-Wreorder] Graph(uint _vertices, uint _edges, std::vector<std::vector<uint>> _adjacencyList) : ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms448kbOK10
30ms452kbOK10
40ms488kbOK10
58ms828kbOK10
632ms1840kbOK10
752ms2236kbOK10
888ms3328kbOK10
980ms3456kbOK10
10128ms4124kbOK10
Punctaj total100

Ceva nu functioneaza?