Borderou de evaluare (job #714152)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Șoricel (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 31 mar. 2023 17:03:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:5: error: size '4000000000' of array 'mat' exceeds maximum object size '2147483647'
7 | int mat[10000][100000], elim[100000][100000];
| ^~~
main.cpp:7:25: error: size of array 'elim' exceeds maximum object size '2147483647'
7 | int mat[10000][100000], elim[100000][100000];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:16:18: error: 'mat' was not declared in this scope
16 | fin>>mat[i][j];
| ^~~
main.cpp:24:24: error: 'elim' was not declared in this scope
24 | if(elim[i][j]==0) {
| ^~~~
main.cpp:25:25: error: 'mat' was not declared in this scope
25 | mat[i][j]--;
| ^~~
main.cpp:52:24: error: 'elim' was not declared in this scope
52 | if(elim[i][j]!=1) {
| ^~~~
main.cpp:53:25: error: 'mat' was not declared in this scope
53 | mat[i][j]--;
| ^~~
main.cpp:80:24: error: 'elim' was not declared in this scope
80 | if(elim[i][j]!=1) {
| ^~~~
main.cpp:81:26: error: 'mat' was not declared in this scope
81 | mat[i][j]--;
| ^~~