Borderou de evaluare (job #3254015)
Utilizator | Data | 5 noiembrie 2024 19:37:37 | |
---|---|---|---|
Problema | Demolish | 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:109:5: error: 'sort' was not declared in this scope; did you mean 'short'?
109 | sort(events.begin(), events.end(), cmp);
| ^~~~
| short
main.cpp:116:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<event>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | while(it < events.size() && t >= events[it].timp){
| ~~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !