Borderou de evaluare (job #1403575)

Utilizator BaweeLazar Vlad Bawee Data 27 martie 2015 13:47:55
Problema Segmente Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:1: error: expected ‘,’ or ‘;’ before ‘unsigned’ unsigned i,i1,i2,n,j,nv,nh; ^ user.cpp: In function ‘int main()’: user.cpp:47:7: error: ‘n’ was not declared in this scope f >> n; ^ user.cpp:48:7: error: ‘i’ was not declared in this scope for (i=1;i<=n;i++) ^ user.cpp:52:6: error: ‘nv’ was not declared in this scope v[nv++] = seg; ^ user.cpp:54:6: error: ‘nh’ was not declared in this scope h[nh++] = seg; ^ user.cpp:57:7: error: ‘i’ was not declared in this scope for (i=0;i<nh;i++) ^ user.cpp:57:13: error: ‘nh’ was not declared in this scope for (i=0;i<nh;i++) ^ user.cpp:58:8: error: ‘j’ was not declared in this scope for (j=0;j<nv;j++) ^ user.cpp:58:14: error: ‘nv’ was not declared in this scope for (j=0;j<nv;j++) ^ user.cpp:66:6: error: ‘nh’ was not declared in this scope if (nh <= nv) ^ user.cpp:66:12: error: ‘nv’ was not declared in this scope if (nh <= nv) ^ user.cpp:67:8: error: ‘i1’ was not declared in this scope for (i1=0;i1<nh;i1++) ^ user.cpp:68:9: error: ‘i2’ was not declared in this scope for (i2=i1+1;i2<nh;i2++) ^ user.cpp:71:10: error: ‘j’ was not declared in this scope for (j=0;j<nv;j++) ^ user.cpp:84:8: error: ‘i1’ was not declared in this scope for (i1=0;i1<nv;i1++) ^ user.cpp:85:9: error: ‘i2’ was not declared in this scope for (i2=i1+1;i2<nv;i2++) ^ user.cpp:88:10: error: ‘j’ was not declared in this scope

Ceva nu functioneaza?