Borderou de evaluare (job #3321497)

Utilizator Cezar2009Cezar Mihai Titihazan Cezar2009 Data 9 noiembrie 2025 18:59:11
Problema Numere8 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:94:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (int it1 = 0; it1 < it.second.size(); ++it1) | ~~~~^~~~~~~~~~~~~~~~~~ main.cpp:96:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 96 | for (int it2 = it1 + 1; it2 < it.second.size(); ++it2) | ~~~~^~~~~~~~~~~~~~~~~~ main.cpp:49:12: warning: unused variable 'j' [-Wunused-variable] 49 | int i, j, masca, rez = 0, maxi = 0; | ^ main.cpp:130:19: warning: 'rez2' may be used uninitialized [-Wmaybe-uninitialized] 130 | if ((rez2 >> (i - 1)) & 1) | ~~~~~~^~~~~~~~~~~ main.cpp:52:15: note: 'rez2' was declared here 52 | int rez1, rez2; | ^~~~ main.cpp:120:19: warning: 'rez1' may be used uninitialized [-Wmaybe-uninitialized] 120 | if ((rez1 >> (i - 1)) & 1) | ~~~~~~^~~~~~~~~~~ main.cpp:52:9: note: 'rez1' was declared here 52 | int rez1, rez2; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbRaspuns corect !!!10
20ms303kbRaspuns corect !!!10
30ms303kbRaspuns corect !!!10
40ms303kbRaspuns corect !!!10
50ms303kbRaspuns corect !!!10
60ms303kbRaspuns corect !!!10
70ms303kbRaspuns corect !!!10
80ms303kbRaspuns corect !!!10
90ms303kbRaspuns corect !!!10
100ms303kbRaspuns corect !!!10
Punctaj total100

Ceva nu functioneaza?