Borderou de evaluare (job #822748)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Oraș (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 mai 2025 08:42:07 | 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:18: error: 'l' was not declared in this scope
36 | return cout<<l<<' '<<t<<' '<<p,0;
| ^