Borderou de evaluare (job #691980)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Qmatrix (clasa a 9-a) | Compilator | cpp-32 |
Rundă | vaslui_cls9_01.02 | Status | evaluat |
Dată | 1 feb. 2023 19:32:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:15: error: size of array 'A' exceeds maximum object size '2147483647'
8 | int v[40001], A[40001][40001];
| ^
main.cpp: In function 'int main()':
main.cpp:21:20: error: 'A' was not declared in this scope
21 | v[k] = A[i][j] = (v[k - 2] * i + v[k - 1] * j + 1) % 10;
| ^
main.cpp:41:24: error: 'A' was not declared in this scope
41 | if(A[i][j] == p) ++ct;
| ^
main.cpp:57:24: error: 'A' was not declared in this scope
57 | if(A[i][j] == p) ++ct;
| ^