Borderou de evaluare (job #3265120)
Utilizator | Data | 27 decembrie 2024 11:16:10 | |
---|---|---|---|
Problema | Intfm | Status | done |
Runda | Simulare #1 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int maxim(std::vector<spectacol>&)':
main.cpp:35:5: error: 'sort' was not declared in this scope; did you mean 'short'?
35 | sort(inc.begin(), inc.end(), cmp1);
| ^~~~
| short
main.cpp:42:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<spectacol>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int i = 1; i < inc.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:78:5: error: 'sort' was not declared in this scope; did you mean 'short'?
78 | sort(v.begin(), v.end(), cmp1);
| ^~~~
| short
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !