Borderou de evaluare (job #2943984)
Utilizator | Data | 21 noiembrie 2022 21:37:07 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:16: error: 'INT_MAX' was not declared in this scope
18 | const int oo = INT_MAX;
| ^~~~~~~
main.cpp:5:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <queue>
+++ |+#include <climits>
5 |
main.cpp: In function 'void dijkstra()':
main.cpp:57:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for( int i = 0; i < a[nod].size(); ++i )
| ~~^~~~~~~~~~~~~~~
main.cpp:55:13: warning: unused variable 'c' [-Wunused-variable]
55 | int c = heap.top().first;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !