Borderou de evaluare (job #2821604)

Utilizator bestman4111Tiberiu Niculae bestman4111 Data 22 decembrie 2021 19:31:36
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'std::vector<int> graf::disjoint(std::vector<std::pair<int, std::pair<int, int> > >)': main.cpp:162:22: 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] 162 | for(int i = 0; i < operatii.size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'int graf::diamArb()': main.cpp:187:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 187 | for(int i = 1; i < distanta.size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp:193:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 193 | for(int i = 0; i < vizitat.size(); i++){ | ~~^~~~~~~~~~~~~~~~ main.cpp:198:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 198 | for(int i = 1; i < distanta.size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void InfoArena_BFS()': main.cpp:325:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 325 | for(int i = 0; i < distanta.size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void InfoArena_disjoint()': main.cpp:354:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 354 | for(int i = 0; i < rez.size(); i++){ | ~~^~~~~~~~~~~~ main.cpp: In function 'void InfoArena_apm()': main.cpp:375:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 375 | for(int i = 0; i < rez.size(); i++){ | ~~^~~~~~~~~~~~ main.cpp: In function 'void InfoArena_BellmanFord()': main.cpp:395:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 395 | for(int i = 2; i < costMinim.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void InfoArena_Dijkstra()': main.cpp:410:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 410 | for(int i = 2; i < costMinim.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int graf::diamArb()': main.cpp:196:37: warning: 'nodUltim' may be used uninitialized in this function [-Wmaybe-uninitialized] 196 | distanta = BFS(nodUltim, vizitat); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK5
22ms184kbOK5
32ms184kbOK5
411ms716kbOK5
52ms184kbOK5
62ms184kbOK5
72ms184kbOK5
82ms184kbOK5
92ms184kbOK5
102ms262kbOK5
1135ms1802kbOK5
1225ms1703kbOK5
1340ms2453kbOK5
1444ms2809kbOK5
1559ms3334kbOK5
1678ms4104kbOK5
17107ms10739kbOK5
186ms2592kbOK5
1911ms2863kbOK5
2087ms5316kbOK5
Punctaj total100

Ceva nu functioneaza?