Borderou de evaluare (job #3159432)

Utilizator NToniBoSSNicolae Tonitza NToniBoSS Data 21 octombrie 2023 12:18:33
Problema Ferma3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:61:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | for(z = 0; z < adiacent.size(); z++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:65:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | if(z == adiacent.size()){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:91:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 91 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:53:12: note: 'y' was declared here 53 | int x, y; | ^ main.cpp:91:15: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 91 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:53:9: note: 'x' was declared here 53 | int x, y; | ^ main.cpp:91:15: warning: 'color' may be used uninitialized [-Wmaybe-uninitialized] 91 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:52:10: note: 'color' was declared here 52 | char color; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbGresit!0
21ms557kbGresit!0
32ms1085kbGresit!0
44ms1470kbGresit!0
513ms11214kbGresit!0
60ms303kbGresit!0
70ms303kbGresit!0
80ms303kbGresit!0
91ms557kbGresit!0
101ms557kbGresit!0
112ms946kbGresit!0
125ms1208kbGresit!0
138ms2252kbGresit!0
144ms1470kbGresit!0
159ms1990kbGresit!0
169ms1990kbGresit!0
179ms1990kbCorect! Varianta 25
189ms1990kbGresit!0
1914ms3297kbGresit!0
200ms303kbGresit!0
Punctaj total5

Ceva nu functioneaza?