Borderou de evaluare (job #3300944)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 20 iunie 2025 14:11:58
Problema Sclifoseala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool e_cerc(std::vector<short int>&)': main.cpp:117:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | for(int i = 0; i < v.size(); i++){ | ~~^~~~~~~~~~ main.cpp:118:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for(int j = i + 1; j < v.size(); j++){ | ~~^~~~~~~~~~ main.cpp: In function 'void conex(int, int, bool)': main.cpp:149:24: warning: loop variable 'x' of type 'const shr&' {aka 'const short int&'} binds to a temporary constructed from type 'int' [-Wrange-loop-construct] 149 | for(const shr &x : g_check[nod]){ | ^ main.cpp:149:24: note: use non-reference type 'const shr' {aka 'const short int'} to make the copy explicit or 'const int&' to prevent copying main.cpp: In function 'int bkt(int)': main.cpp:165:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | for(int i = 0; i < comp[idx].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 169 | for(int i = 0; i < comp[idx].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:170:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 170 | for(int j = i + 1; j < comp[idx].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:181:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 181 | for(int i = 0; i < comp[idx].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:186:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 186 | for(int i = 0; i < comp[idx].size(); i++) m[i] = 0; | ~~^~~~~~~~~~~~~~~~~~ main.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 190 | if(cate[0] == comp[idx].size() - cnt1 && cate[1] == cnt1) sol++; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:221:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | for(int i = 0; i < comp.size(); i++){ | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK20
2111ms120733kbOK20
392ms118349kbOK20
4956ms115560kbOK20
597ms118763kbOK20
Punctaj total100

Ceva nu functioneaza?