Borderou de evaluare (job #3159435)

Utilizator NToniBoSSNicolae Tonitza NToniBoSS Data 21 octombrie 2023 12:25:54
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:57: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] 57 | for(z = 0; z < adiacent.size(); z++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:61: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] 61 | if(z == adiacent.size()){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:87:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 87 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:49:12: note: 'y' was declared here 49 | int x, y; | ^ main.cpp:87:15: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 87 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:49:9: note: 'x' was declared here 49 | int x, y; | ^ main.cpp:87:15: warning: 'color' may be used uninitialized [-Wmaybe-uninitialized] 87 | printf("%d %d\n%c", x, y, color); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:10: note: 'color' was declared here 48 | char color; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbGresit!0
21ms557kbGresit!0
32ms1085kbGresit!0
46ms1470kbGresit!0
514ms11304kbGresit!0
60ms303kbGresit!0
70ms303kbGresit!0
80ms303kbGresit!0
91ms557kbGresit!0
101ms557kbGresit!0
112ms946kbGresit!0
124ms1466kbGresit!0
138ms2252kbGresit!0
145ms1470kbGresit!0
159ms1990kbGresit!0
169ms1994kbGresit!0
179ms1990kbCorect! Varianta 25
189ms1990kbGresit!0
1914ms3297kbGresit!0
200ms303kbGresit!0
Punctaj total5

Ceva nu functioneaza?