Borderou de evaluare (job #2907389)
Utilizator | Data | 30 mai 2022 01:02:55 | |
---|---|---|---|
Problema | Distante | 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(int, int)':
main.cpp:22:31: warning: value computed is not used [-Wunused-value]
22 | vizitat[NodCurent]==true;
| ~~~~~~~~~~~~~~~~~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:49:30: error: 'INT_MAX' was not declared in this scope
49 | distanta.resize(n+1, 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 | 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 !