Borderou de evaluare (job #2642590)

Utilizator popescustefanita09@yahoo.comPopescu Alberto Stefanita [email protected] Data 16 august 2020 11:13:21
Problema Ternar Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve(int, int)': main.cpp:20:25: error: 'n' was not declared in this scope if(cx>=1 && cx<=n && cy>=1 && cy<=m) ^ main.cpp:20:43: error: 'm' was not declared in this scope if(cx>=1 && cx<=n && cy>=1 && cy<=m) ^ main.cpp:22:29: error: expected ')' before 'viz' if(v[cx][cy]==2 viz[cx][cy]==0) ^~~ main.cpp: In function 'void verificare()': main.cpp:29:20: error: 'n' was not declared in this scope for(int i=1;i<=n;i++) ^ main.cpp:30:24: error: 'm' was not declared in this scope for(int j=1;j<=m;j++) ^ main.cpp:34:9: error: expected primary-expression before '}' token } ^ main.cpp: In function 'int main()': main.cpp:38:8: error: 'n' was not declared in this scope f>>n>>m; ^ main.cpp:38:11: error: 'm' was not declared in this scope f>>n>>m; ^ Non zero exit status: 1

Ceva nu functioneaza?