Borderou de evaluare (job #1535178)

Utilizator kasperDorin Puscasu kasper Data 24 noiembrie 2015 13:51:27
Problema Spirala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:7:10: error: ‘n’ was not declared in this scope cin>>n>>M; ^ user.cpp:7:13: error: ‘M’ was not declared in this scope cin>>n>>M; ^ user.cpp:8:9: error: ‘i’ was not declared in this scope for(i=1;i<=n++i) ^ user.cpp:8:19: error: expected ‘;’ before ‘i’ for(i=1;i<=n++i) ^ user.cpp:9:14: error: ‘j’ was not declared in this scope for(j=1;j<=m;++j) { ^ user.cpp:9:21: error: ‘m’ was not declared in this scope for(j=1;j<=m;++j) { ^ user.cpp:10:19: error: ‘a’ was not declared in this scope cin>>a[i][j]; ^ user.cpp:12:5: error: ‘dif1’ was not declared in this scope dif1=a[1]-a[2]; ^ user.cpp:12:10: error: ‘a’ was not declared in this scope dif1=a[1]-a[2]; ^ user.cpp:13:5: error: ‘i’ was not declared in this scope i=2; ^ user.cpp:14:5: error: ‘linie’ was not declared in this scope linie=1; ^ user.cpp:15:11: error: ‘dif2’ was not declared in this scope while(dif2==dif1 && linie<=n) ^ user.cpp:17:17: error: ‘m’ was not declared in this scope if(i+1<=m) ^

Ceva nu functioneaza?