Borderou de evaluare (job #3210939)
Utilizator | Data | 7 martie 2024 19:21:31 | |
---|---|---|---|
Problema | Aquapark | 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:43:5: error: 'sort' was not declared in this scope; did you mean 'short'?
43 | sort(events.begin(), events.end());
| ^~~~
| short
main.cpp:48:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<int, bool, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int idx = 0; idx < events.size(); idx++) {
| ~~~~^~~~~~~~~~~~~~~
main.cpp:47:9: warning: unused variable 'left' [-Wunused-variable]
47 | int left = 0, right;
| ^~~~
main.cpp:47:19: warning: unused variable 'right' [-Wunused-variable]
47 | int left = 0, right;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !