Borderou de evaluare (job #3208410)
Utilizator | Data | 28 februarie 2024 16:25:15 | |
---|---|---|---|
Problema | Ramen | 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:31:5: error: 'sort' was not declared in this scope; did you mean 'short'?
31 | sort(orderByDiff.begin(), orderByDiff.end());
| ^~~~
| short
main.cpp:39:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | while (ordersByDffIdx + 1 < orderByDiff.size() && time >= orderByDiff[ordersByDffIdx + 1].first) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !