Borderou de evaluare (job #3241128)

Utilizator doodadooda dooda dooda Data 26 august 2024 19:16:36
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void showMatrix(IntMatrix)': main.cpp:23:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | for (int i = 0; i < a.size(); i++) { | ~~^~~~~~~~~~ main.cpp:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for (int j = 0; j < a[i].size(); j++) { | ~~^~~~~~~~~~~~~ main.cpp: In function 'int sumCalc(IntMatrix)': main.cpp:47:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for (int i = 0; i < a.size(); i++) { | ~~^~~~~~~~~~ main.cpp:48:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for (int j = 0; j < a[i].size(); j++) { | ~~^~~~~~~~~~~~~ main.cpp: In function 'void changeRow(IntMatrix&, int)': main.cpp:56:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for (int i = 0; i < a[temp].size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'void changeCol(IntMatrix&, int)': main.cpp:62:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (int i = 0; i < a.size(); i++) { | ~~^~~~~~~~~~ main.cpp: In function 'void finalSumVec(IntMatrix&, IntMatrix, std::string, int, int, int)': main.cpp:84:5: error: expected ',' or ';' before 'if' 84 | if (c >= max) { | ^~ main.cpp:83:9: warning: unused variable 'c' [-Wunused-variable] 83 | int c = sumCalc(a) | ^ Non zero exit status: 1

Ceva nu functioneaza?