Borderou de evaluare (job #748246)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Alee (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 nov. 2023 17:18:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:11: error: size of array 'A' exceeds maximum object size '2147483647'
3 | int n, m, A[60000][60000], Ci[60000], Cj[60000], sr, sc, fr, fc, dr, st;
| ^
main.cpp: In function 'int main()':
main.cpp:11:9: error: 'A' was not declared in this scope
11 | A[x][y] = -1;
| ^
main.cpp:23:12: error: 'A' was not declared in this scope
23 | if(A[sr-1][sc] == 0 && (sr-1 > 0)){
| ^
main.cpp:29:12: error: 'A' was not declared in this scope
29 | if(A[sr][sc+1] == 0 && (sc+1 <= n)){
| ^
main.cpp:35:12: error: 'A' was not declared in this scope
35 | if(A[sr+1][sc] == 0 && (sr+1 <= n)){
| ^
main.cpp:41:12: error: 'A' was not declared in this scope
41 | if(A[sr][sc-1] == 0 && (sr-1 > 0 && sc-1 > 0)){
| ^
main.cpp:60:13: error: 'A' was not declared in this scope
60 | cout << A[fr][fc] + 1;
| ^