Borderou de evaluare (job #2181120)

Utilizator f0psDoros Calin Gabriel f0ps Data 21 martie 2018 14:15:34
Problema Cufar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void verp(int*, int*)’: user.cpp:16:5: error: ‘b’ was not declared in this scope b=1; ^ user.cpp:17:9: error: ‘c’ was not declared in this scope for(c=1;c<=imax;c++) ^ user.cpp:17:16: error: ‘imax’ was not declared in this scope for(c=1;c<=imax;c++) ^ user.cpp:19:12: error: ‘v’ was not declared in this scope if(v[c]<2) ok=0; ^ user.cpp:28:20: error: ‘v2’ was not declared in this scope if(ok==1) {v2[b]=v[c];b++;} ^ user.cpp:28:26: error: ‘v’ was not declared in this scope if(ok==1) {v2[b]=v[c];b++;} ^ user.cpp:14:9: warning: unused variable ‘l’ [-Wunused-variable] int l=1,im,d; ^ user.cpp:14:13: warning: unused variable ‘im’ [-Wunused-variable] int l=1,im,d; ^ user.cpp: In function ‘int main()’: user.cpp:56:25: error: ‘d’ was not declared in this scope for(d=3;d<=v[c]*v[c];d++) ^

Ceva nu functioneaza?