Borderou de evaluare (job #2814432)

Utilizator bestman4111Tiberiu Niculae bestman4111 Data 8 decembrie 2021 04:34:46
Problema Diametrul unui arbore 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
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
511ms933kbOK10
644ms2789kbOK10
768ms3850kbOK10
8116ms5750kbOK10
983ms6545kbOK10
10158ms7426kbOK10
Punctaj total100

Ceva nu functioneaza?