Borderou de evaluare (job #3315819)
| Utilizator | Data | 16 octombrie 2025 10:05:18 | |
|---|---|---|---|
| Problema | Permavg | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void displayVal(std::vector<std::pair<std::vector<int>, int> >)':
main.cpp:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = 0; i < m.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:13:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int j = 0; j < m[i].first.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void processNumber(std::vector<std::pair<std::vector<int>, int> >, int)':
main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int j = 0; j <= m.size(); j++) {
| ~~^~~~~~~~~~~
main.cpp:28:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if (j == m.size()) {
| ~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:57:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for (int j = 0; j <= mPar.size(); j++) {
| ~~^~~~~~~~~~~~~~
main.cpp:58:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if (j == mPar.size()) {
| ~~^~~~~~~~~~~~~~
main.cpp:76:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for (int j = 0; j <= mImpar.size(); j++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp:77:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | if (j == mImpar.size()) {
| ~~^~~~~~~~~~~~~~~~
main.cpp:95:5: error: 'reverse' was not declared in this scope
95 | reverse(mPar.begin(), mPar.end());
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
