Borderou de evaluare (job #696545)

Utilizator avatar Mara2511 Mara Cioban Mara2511 IP ascuns
Problemă Forma (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 feb. 2023 12:19:02 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool echivalente1(int, int)': main.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 30 | for(int i=0; i<v1.size(); i++){ | ~^~~~~~~~~~ main.cpp:38:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 38 | for(int i=0; i<v2.size(); i++){ | ~^~~~~~~~~~ main.cpp: In function 'int schimbat(int)': main.cpp:63:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 63 | for(int i=0; i<v1.size(); i++){ | ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:84:12: error: 'echivalente' was not declared in this scope; did you mean 'echivalente1'? 84 | if(echivalente(a, b[i])==1){ | ^~~~~~~~~~~ | echivalente1 main.cpp:91:17: warning: unused variable 'nr' [-Wunused-variable] 91 | int secv=0, nr, ans; | ^~