Borderou de evaluare (job #673214)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gliph (Clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 nov. 2022 19:25:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:74: error: 'INT_MAX' was not declared in this scope
10 | int a[NMAX + 5][NMAX + 5], n, x, i, j, k, dir, t, d, lc, cc, g , cmax = -INT_MAX, cnt;
| ^~~~~~~
main.cpp:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
1 | #include <fstream>
+++ |+#include <climits>
2 |
main.cpp: In function 'void solve()':
main.cpp:70:21: error: 'cnt' was not declared in this scope; did you mean 'int'?
70 | cnt = 1;
| ^~~
| int
main.cpp:73:21: error: 'cnt' was not declared in this scope; did you mean 'int'?
73 | cnt++;
| ^~~
| int
main.cpp:77:39: error: 'cnt' was not declared in this scope; did you mean 'int'?
77 | out << g << " " << cmax << " " << cnt << '\n';
| ^~~
| int