Borderou de evaluare (job #2815716)

Utilizator 134_tufa_liliana_ionelaTufa Liliana Ionela 134_tufa_liliana_ionela Data 10 decembrie 2021 10:11:34
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Bfs()': main.cpp:107:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 107 | for(int i = 1; i < afisare.size(); i++) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graf::CodDisjoint(std::vector<std::pair<int, std::pair<int, int> > >)': main.cpp:213:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | for(int i=0; i < operatii.size();i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void Disjoint()': main.cpp:245:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 245 | for(auto i=0; i<afisare.size(); i++) | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graf::CodDisjkstra(std::vector<std::vector<std::pair<int, int> > >)': main.cpp:268:31: warning: value computed is not used [-Wunused-value] 268 | vizitat[NodCurent]==true; | ~~~~~~~~~~~~~~~~~~^~~~~~ main.cpp: In member function 'int Graf::CodDarb()': main.cpp:313:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 313 | for(int i=0; i < distanta.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:322:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 322 | for(int i=0; i < distanta.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:319:32: warning: 'nod_ultim' may be used uninitialized in this function [-Wmaybe-uninitialized] 319 | distanta = codBFS(nod_ultim); | ^ main.cpp: In function 'void Darb()': main.cpp:335:42: warning: 'n' is used uninitialized in this function [-Wuninitialized] 335 | vector <vector<int>> ListaAdiacenta(n+1); | ~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms262kbKilled by Signal 110
26ms331kbKilled by Signal 110
36ms331kbKilled by Signal 110
46ms331kbKilled by Signal 110
56ms225kbKilled by Signal 110
66ms266kbKilled by Signal 110
76ms266kbKilled by Signal 110
86ms331kbKilled by Signal 110
95ms331kbKilled by Signal 110
106ms253kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?