Borderou de evaluare (job #604218)

Utilizator avatar DavidAA Apostol David DavidAA IP ascuns
Problemă Magic (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 aug. 2021 15:31:11 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:13: error: size of array 'v' exceeds maximum object size '2147483647' 6 | int n,i,j,x,v[40005][40005],pozi,pozj,col,lin; | ^ main.cpp: In function 'int main()': main.cpp:15:9: error: 'v' was not declared in this scope 15 | v[i][j]=x; | ^ main.cpp:33:16: error: 'v' was not declared in this scope 33 | if(v[i][j]!=0) | ^ main.cpp:38:16: error: 'v' was not declared in this scope 38 | if(v[j][i]!=0) | ^ main.cpp:50:16: error: 'v' was not declared in this scope 50 | if(v[i][j]!=0) | ^ main.cpp:55:16: error: 'v' was not declared in this scope 55 | if(v[j][i]!=0) | ^ main.cpp:67:19: error: 'v' was not declared in this scope 67 | fout<<v[i][j]<<" "; | ^ main.cpp:79:13: error: 'v' was not declared in this scope 79 | v[i][j]=0; | ^ main.cpp:87:9: error: 'v' was not declared in this scope 87 | v[i][j]=x; | ^ main.cpp:105:16: error: 'v' was not declared in this scope 105 | if(v[i][j]!=0) | ^ main.cpp:110:16: error: 'v' was not declared in this scope 110 | if(v[j][i]!=0) | ^ main.cpp:122:16: error: 'v' was not declared in this scope 122 | if(v[i][j]!=0) | ^ main.cpp:127:16: error: 'v' was not declared in this scope 127 | if(v[j][i]!=0) | ^ main.cpp:135:11: error: 'v' was not declared in this scope 135 | fout<<v[lin+n/2][col+n/2]; | ^