Borderou de evaluare (job #645065)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Zar2 (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 mar. 2022 12:29:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void debug(std::vector<int>)':
main.cpp:18:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
18 | for(int i = 0;i < v.size();i++) cout << v[i] << ' ';
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:68:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<nod>::size_type' {aka 'unsigned int'} [-Wsign-compare]
68 | for(int poz = 0;poz < v.size();)
| ~~~~^~~~~~~~~~
main.cpp:70:13: warning: unused variable 'pos' [-Wunused-variable]
70 | int pos;
| ^~~
main.cpp:129:5: error: expected primary-expression before '}' token
129 | }
| ^
main.cpp:203:17: warning: unused variable 'posCC' [-Wunused-variable]
203 | int posCC = mat[lin][col].p;
| ^~~~~