Borderou de evaluare (job #770821)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tramvai (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 mar. 2024 18:42:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:46: error: 'INT_MAX' was not declared in this scope
10 | int n, t, i, d, sosire, s = 0, j, minn = INT_MAX;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <cmath>
+++ |+#include <climits>
4 | using namespace std;