Borderou de evaluare (job #2928264)

Utilizator teochess2017Togan Teodor-Bogdan teochess2017 Data 22 octombrie 2022 16:24:50
Problema Graph Cycle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void findcomponents(int, int&, int&)': main.cpp:24:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(i = 0; i < graf[node].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:69:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=] 69 | fprintf(fout, "%d\n", comp[0].size() + 1); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int std::vector<int>::size_type {aka long unsigned int} | %ld main.cpp:70:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | for(j = 0; j < comp[0].size(); j++){///se incearca o schema | ~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect!0
20ms184kbIncorect!0
30ms184kbIncorect!0
40ms184kbOK!10
54ms2805kbIncorect!0
622ms5062kbOK!10
70ms184kbOK!10
821ms4665kbIncorect!0
98ms3330kbOK!10
1062ms7073kbIncorect!0
Punctaj total40

Ceva nu functioneaza?