Borderou de evaluare (job #2946664)
Utilizator | Data | 25 noiembrie 2022 00:54:39 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Dijkstra(int)':
main.cpp:35:11: warning: variable 'distantaNod' set but not used [-Wunused-but-set-variable]
35 | int nod, distantaNod, nodVecin, distantaVecin;
| ^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:87:33: error: 'INT_MAX' was not declared in this scope
87 | distanta.resize(nrAsezari + 1, INT_MAX);
| ^~~~~~~
main.cpp:23:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
22 | #include <queue>
+++ |+#include <climits>
23 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !