Borderou de evaluare (job #3175256)
Utilizator | Data | 25 noiembrie 2023 15:07:00 | |
---|---|---|---|
Problema | Camionas | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::vector<int> dijkstra(const std::vector<std::vector<Edge> >&, int)':
main.cpp:8:13: error: 'INT_MAX' was not declared in this scope
8 | #define INF INT_MAX
| ^~~~~~~
main.cpp:22:29: note: in expansion of macro 'INF'
22 | vector<int> distance(n, INF);
| ^~~
main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include<limits>
+++ |+#include <climits>
6 | using namespace std;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !