Borderou de evaluare (job #2219869)

Utilizator pacheprotopopescuPake Protopopescu pacheprotopopescu Data 9 iulie 2018 22:26:22
Problema Joctv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: expected ‘,’ or ‘;’ before ‘int’ int n,m,mt[100][100],sp[100][100],i,j,mx=-32000,x1,x2,y1,y2; ^~~ user.cpp: In function ‘int main()’: user.cpp:9:8: error: ‘n’ was not declared in this scope f>>n; ^ user.cpp:10:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:11:13: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:12:12: error: ‘mt’ was not declared in this scope f>>mt[i][j]; ^~ user.cpp:13:5: error: ‘sp’ was not declared in this scope sp[1][1]=mt[1][1]; ^~ user.cpp:13:14: error: ‘mt’ was not declared in this scope sp[1][1]=mt[1][1]; ^~ user.cpp:14:9: error: ‘i’ was not declared in this scope for(i=2;i<=n;i++) ^ user.cpp:16:9: error: ‘j’ was not declared in this scope for(j=2;j<=n;j++) ^ user.cpp:18:9: error: ‘i’ was not declared in this scope for(i=2;i<=n;i++) ^ user.cpp:19:13: error: ‘j’ was not declared in this scope for(j=2;j<=m;j++) ^ user.cpp:19:20: error: ‘m’ was not declared in this scope for(j=2;j<=m;j++) ^ user.cpp:21:9: error: ‘x1’ was not declared in this scope for(x1=1;x1<=n;x1++) ^~ user.cpp:22:11: error: ‘x2’ was not declared in this scope for(x2=x1;x2<=n;x2++) ^~ user.cpp:23:11: error: ‘y1’ was not declared in this scope for(y1=1;y1<=n;y1++) ^~ user.cpp:24:11: error: ‘y2’ was not declared in this scope for(y2=y1;y2<=n;y2++) ^~ user.cpp:26:12: error: ‘mx’ was not declared in this scope

Ceva nu functioneaza?