Borderou de evaluare (job #3300185)

Utilizator Nasa1004Ema Nicole Gheorghe Nasa1004 Data 13 iunie 2025 18:26:58
Problema Sclifoseala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'bool cerc(int)': main.cpp:111:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 111 | for(int i = 0; i < comp[ind].size(); i++) { ///check sa aiba fix 2 muchii ambele | ~~^~~~~~~~~~~~~~~~~~ main.cpp:112:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 112 | for(int j = i + 1; j < comp[ind].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int solve(int)': main.cpp:143:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 143 | for(int i = 0; i < comp[ind].size(); i++) ///cnt[i] = indicele din comp (il refolosim, na) | ~~^~~~~~~~~~~~~~~~~~ main.cpp:146:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 146 | for(int i = 0; i < comp[ind].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:147:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 147 | for(int j = i + 1; j < comp[ind].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:164:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | for(int bit = 0; bit < comp[ind].size(); bit++) { | ~~~~^~~~~~~~~~~~~~~~~~ main.cpp:175:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | if(cat[1] == nrbiti && cat[0] == comp[ind].size() - nrbiti) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:214:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 214 | for(int i = 0; i < comp.size(); i++) { | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK20
2116ms120758kbOK20
392ms118603kbOK20
41001ms115978kbTime limit exceeded0
597ms118800kbOK20
Punctaj total80

Ceva nu functioneaza?