Borderou de evaluare (job #3272983)
Utilizator | Data | 31 ianuarie 2025 22:00:06 | |
---|---|---|---|
Problema | Alpin | 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:58:5: error: 'sort' was not declared in this scope; did you mean 'short'?
58 | sort(v.begin(), v.end(), cmp);
| ^~~~
| short
main.cpp:61:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<cell>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (int i = 0; i < v.size(); ++i)
| ~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !