Borderou de evaluare (job #3159430)

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

Ceva nu functioneaza?