Borderou de evaluare (job #2968090)
Utilizator | Data | 20 ianuarie 2023 18:09:20 | |
---|---|---|---|
Problema | Dragon Ball Z | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int dijkstra(int)':
main.cpp:27:14: error: 'INT_MAX' was not declared in this scope
27 | int dmin=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;
main.cpp: In function 'int main()':
main.cpp:74:33: error: 'INT_MAX' was not declared in this scope
74 | fill(d.begin(), d.end(),INT_MAX );
| ^~~~~~~
main.cpp:74:33: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp: In function 'int dijkstra(int)':
main.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type]
69 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !