Borderou de evaluare (job #621878)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bile1 (clasa a 7-a) | Compilator | cpp-32 |
Rundă | lasm_21_12_2021_cl12 | Status | evaluat |
Dată | 21 dec. 2021 13:07:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:10: error: 'DIM' was not declared in this scope
8 | int Next[DIM], col[DIM], lin[2001], v[2001];
| ^~~
main.cpp:8:20: error: 'DIM' was not declared in this scope
8 | int Next[DIM], col[DIM], lin[2001], v[2001];
| ^~~
main.cpp: In function 'int main()':
main.cpp:14:21: error: 'col' was not declared in this scope
14 | cin >> x >> col[i];
| ^~~
main.cpp:15:9: error: 'Next' was not declared in this scope
15 | Next[i] = lin[x];
| ^~~~
main.cpp:25:23: error: 'col' was not declared in this scope
25 | int obs = col[x];
| ^~~
main.cpp:29:17: error: 'Next' was not declared in this scope
29 | x = Next[x];
| ^~~~