Borderou de evaluare (job #3201781)
Utilizator | Data | 9 februarie 2024 18:51:39 | |
---|---|---|---|
Problema | Multimi4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:52:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for (i = 0; i < rez.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp: In function 'std::vector<int> reuniune(std::vector<int>, std::vector<int>)':
main.cpp:103:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
103 | while (x1 <= x.size() - 1 && y11 <= y.size() - 1)
| ~~~^~~~~~~~~~~~~~~
main.cpp:103:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
103 | while (x1 <= x.size() - 1 && y11 <= y.size() - 1)
| ~~~~^~~~~~~~~~~~~~~
main.cpp:122:18: error: 'n' was not declared in this scope
122 | while (x1 <= n)
| ^
main.cpp:127:19: error: 'm' was not declared in this scope
127 | while (y11 <= m)
| ^
main.cpp: In function 'std::vector<int> intersec(std::vector<int>, std::vector<int>)':
main.cpp:138:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | while (x1 <= x.size() - 1 && y11 <= y.size() - 1)
| ~~~^~~~~~~~~~~~~~~
main.cpp:138:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | while (x1 <= x.size() - 1 && y11 <= y.size() - 1)
| ~~~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !