Borderou de evaluare (job #2945556)
Utilizator | Data | 23 noiembrie 2022 21:35:49 | |
---|---|---|---|
Problema | Log | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int solve(int, int, int)':
main.cpp:28:25: error: 'INT_MAX' was not declared in this scope
28 | d[st][dr][type]=INT_MAX;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:44:27: error: 'INT_MAX' was not declared in this scope
44 | d[st][dr][type] = INT_MAX;
| ^~~~~~~
main.cpp:44:27: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type]
53 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !