Borderou de evaluare (job #3159440)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56: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] 56 | for(z = 0; z < adiacent.size(); z++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:60: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] 60 | if(z == adiacent.size()){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:86:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 86 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:12: note: 'y' was declared here 48 | int x, y; | ^ main.cpp:86:15: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 86 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:9: note: 'x' was declared here 48 | int x, y; | ^ main.cpp:86:15: warning: 'color' may be used uninitialized [-Wmaybe-uninitialized] 86 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:47:10: note: 'color' was declared here 47 | char color; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbCorect! Varianta 15
21ms557kbCorect! Varianta 15
32ms1081kbCorect! Varianta 15
46ms1470kbCorect! Varianta 15
513ms11386kbCorect! Varianta 15
60ms303kbGresit!0
70ms303kbGresit!0
80ms303kbGresit!0
91ms557kbGresit!0
101ms557kbGresit!0
112ms946kbGresit!0
124ms1208kbGresit!0
134ms2248kbGresit!0
145ms1470kbGresit!0
159ms1990kbGresit!0
169ms1990kbGresit!0
179ms1990kbCorect! Varianta 25
189ms1986kbGresit!0
1913ms3297kbGresit!0
200ms303kbCorect! Varianta 15
Punctaj total35

Ceva nu functioneaza?