Borderou de evaluare (job #822747)

Utilizator avatar popescu_george Popescu George popescu_george IP ascuns
Problemă Oraș (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 mai 2025 08:41:41 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void A(int, int, char)': main.cpp:12:30: error: 'n' was not declared in this scope 12 | if(i+x[k]>=0&&i+x[k]<n&&j+x[3-k]>=0&&j+x[3-k]<m&&!b[i+x[k]][j+x[3-k]]&&a[i+x[k]][j+x[3-k]]==c) | ^ main.cpp:12:55: error: 'm' was not declared in this scope 12 | if(i+x[k]>=0&&i+x[k]<n&&j+x[3-k]>=0&&j+x[3-k]<m&&!b[i+x[k]][j+x[3-k]]&&a[i+x[k]][j+x[3-k]]==c) | ^ main.cpp: In function 'int main()': main.cpp:20:13: error: 'j' was not declared in this scope 20 | for(j=0;j<m;cin>>a[i][j++]); | ^ main.cpp:26:17: error: 'l' was not declared in this scope 26 | l+=k>7; | ^ main.cpp:36:12: error: 'G' was not declared in this scope 36 | return G<<l<<' '<<t<<' '<<p,0; | ^ main.cpp:36:15: error: 'l' was not declared in this scope 36 | return G<<l<<' '<<t<<' '<<p,0; | ^