Borderou de evaluare (job #1784273)

Utilizator GeoeyMexicanuBadita George GeoeyMexicanu Data 19 octombrie 2016 21:52:07
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: expected ‘,’ or ‘;’ before ‘int’ int v[1050],v1[1050],i,j,n,m,k,t,p,r,st[1050]; ^ user.cpp: In function ‘int main()’: user.cpp:9:8: error: ‘n’ was not declared in this scope f>>n>>m; ^ user.cpp:9:11: error: ‘m’ was not declared in this scope f>>n>>m; ^ user.cpp:10:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:11:12: error: ‘v’ was not declared in this scope f>>v[i]; ^ user.cpp:12:9: error: ‘i’ was not declared in this scope for(i=1;i<=m;i++) ^ user.cpp:13:12: error: ‘v1’ was not declared in this scope f>>v1[i]; ^ user.cpp:14:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:15:9: error: ‘j’ was not declared in this scope for(j=1;j<=m;j++) ^ user.cpp:17:12: error: ‘v’ was not declared in this scope if(v[i]==v1[j]) ^ user.cpp:17:18: error: ‘v1’ was not declared in this scope if(v[i]==v1[j]) ^ user.cpp:19:13: error: ‘k’ was not declared in this scope k++; ^ user.cpp:20:13: error: ‘st’ was not declared in this scope st[k]=v[i]; ^ user.cpp:23:8: error: ‘k’ was not declared in this scope g<<k<<endl; ^ user.cpp:24:9: error: ‘i’ was not declared in this scope for(i=1;i<=k;i++) ^ user.cpp:25:12: error: ‘st’ was not declared in this scope g<<st[i]<<" "; ^

Ceva nu functioneaza?