Borderou de evaluare (job #621351)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Medalion (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 dec. 2021 12:07:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:5: error: size of array 'a' exceeds maximum object size '2147483647'
8 | int a[46341][46341];
| ^
main.cpp: In function 'int main()':
main.cpp:21:17: error: 'a' was not declared in this scope
21 | a[poz1][poz2]=curr%k;
| ^
main.cpp:25:17: error: 'a' was not declared in this scope
25 | a[poz1][poz2]=curr%k;
| ^
main.cpp:32:17: error: 'a' was not declared in this scope
32 | a[poz1][poz2]=curr%k;
| ^
main.cpp:36:17: error: 'a' was not declared in this scope
36 | a[poz1][poz2]=curr%k;
| ^
main.cpp:48:11: error: 'a' was not declared in this scope
48 | cout<<a[n/2+1+p][n/2+1];
| ^