Borderou de evaluare (job #692408)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Wind (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 feb. 2023 21:11:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:12: error: 'INT_MAX' was not declared in this scope
19 | int dMin = 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 |
main.cpp: In function 'void dezechilibru(int)':
main.cpp:25:15: error: 'INT_MIN' was not declared in this scope
25 | int max = INT_MIN;
| ^~~~~~~
main.cpp:25:15: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:27:15: error: 'INT_MAX' was not declared in this scope
27 | int min = INT_MAX;
| ^~~~~~~
main.cpp:27:15: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?