Borderou de evaluare (job #621307)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matrice Spirală (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 dec. 2021 10:24:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:5: error: size of array 'a' exceeds maximum object size '2147483647'
8 | int a[100001][100001];
| ^
main.cpp: In function 'int main()':
main.cpp:23:21: error: 'a' was not declared in this scope
23 | a[poz1][poz2]=curr;
| ^
main.cpp:27:21: error: 'a' was not declared in this scope
27 | a[poz1][poz2]=curr;
| ^
main.cpp:34:21: error: 'a' was not declared in this scope
34 | a[poz1][poz2]=curr;
| ^
main.cpp:38:21: error: 'a' was not declared in this scope
38 | a[poz1][poz2]=curr;
| ^
main.cpp:48:23: error: 'a' was not declared in this scope
48 | cout<<a[i][j]<<" ";
| ^
main.cpp:64:21: error: 'a' was not declared in this scope
64 | a[poz1][poz2]=curr;
| ^
main.cpp:68:21: error: 'a' was not declared in this scope
68 | a[poz1][poz2]=curr;
| ^
main.cpp:75:21: error: 'a' was not declared in this scope
75 | a[poz1][poz2]=curr;
| ^
main.cpp:79:21: error: 'a' was not declared in this scope
79 | a[poz1][poz2]=curr;
| ^
main.cpp:84:15: error: 'a' was not declared in this scope
84 | cout<<a[t1][t2];
| ^