Borderou de evaluare (job #3235058)
Utilizator | Data | 13 iunie 2024 18:50:43 | |
---|---|---|---|
Problema | Gravity | 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:54:5: error: 'sort' was not declared in this scope; did you mean 'short'?
54 | sort(cp.begin(), cp.end(), cmp);
| ^~~~
| short
main.cpp:59:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<comp>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = 0; i < cp.size(); i++){
| ~~^~~~~~~~~~~
main.cpp:75:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<comp>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for(int i = 0; i < cp.size(); i++){
| ~~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !