Borderou de evaluare (job #3172389)
Utilizator | Data | 20 noiembrie 2023 16:13:11 | |
---|---|---|---|
Problema | Trilant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:61:26: error: 'LLONG_MAX' was not declared in this scope
61 | dist[j][i] = LLONG_MAX;
| ^~~~~~~~~
main.cpp:6:1: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <bitset>
+++ |+#include <climits>
6 | using namespace std;
main.cpp:67:26: error: 'INT_MAX' was not declared in this scope
67 | long long min_cost = INT_MAX, min_vert;
| ^~~~~~~
main.cpp:67:26: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:72:13: error: 'min_vert' was not declared in this scope
72 | min_vert = i;
| ^~~~~~~~
main.cpp:78:28: error: 'min_vert' was not declared in this scope
78 | to_show = get_path(min_vert, i);
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !