Borderou de evaluare (job #2814431)

Utilizator bestman4111Tiberiu Niculae bestman4111 Data 8 decembrie 2021 04:32:53
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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
12ms184kbIncorect0
22ms184kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
511ms933kbIncorect0
644ms2789kbIncorect0
768ms3850kbIncorect0
8118ms5750kbIncorect0
983ms6545kbIncorect0
10162ms7426kbIncorect0
Punctaj total0

Ceva nu functioneaza?