Borderou de evaluare (job #3300941)

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

Raport evaluator

Compilare: main.cpp: In function 'bool e_cerc(std::vector<short int>&)': main.cpp:59:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for(int i = 0; i < v.size(); i++){ | ~~^~~~~~~~~~ main.cpp:60:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int j = i + 1; j < v.size(); j++){ | ~~^~~~~~~~~~ main.cpp: In function 'void conex(int, int, bool)': main.cpp:91:24: warning: loop variable 'x' of type 'const shr&' {aka 'const short int&'} binds to a temporary constructed from type 'int' [-Wrange-loop-construct] 91 | for(const shr &x : g_check[nod]){ | ^ main.cpp:91: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:107:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 107 | for(int i = 0; i < comp[idx].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:111:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 111 | for(int i = 0; i < comp[idx].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:112:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 112 | for(int j = i + 1; j < comp[idx].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:123:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for(int i = 0; i < comp[idx].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp:128:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 128 | for(int i = 0; i < comp[idx].size(); i++) m[i] = 0; | ~~^~~~~~~~~~~~~~~~~~ main.cpp:132:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 132 | if(cate[0] == comp[idx].size() - cnt1 && cate[1] == cnt1) sol++; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:166: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] 166 | for(int i = 0; i < comp.size(); i++){ | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK20
2117ms119980kbOK20
393ms117747kbOK20
41002ms115572kbTime limit exceeded0
597ms118067kbOK20
Punctaj total80

Ceva nu functioneaza?