Borderou de evaluare (job #1594631)

Utilizator adryan_valentinGheorghe Adryan adryan_valentin Data 9 februarie 2016 17:03:43
Problema Arc 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:29:21: error: expected primary-expression before ‘/’ token fout<<cate[j]<<" ";*/ ^ user.cpp:30:1: error: expected primary-expression before ‘for’ for(j=n;j>=t;j--) ^ user.cpp:30:1: error: expected ‘;’ before ‘for’ user.cpp:30:12: error: ‘t’ was not declared in this scope for(j=n;j>=t;j--) ^ user.cpp:30:17: error: expected ‘;’ before ‘)’ token for(j=n;j>=t;j--) ^ user.cpp:32:1: error: ‘v’ was not declared in this scope v[t]=x; ^ user.cpp:35:18: error: expected primary-expression before ‘/’ token fout<<v[i]<<" ";*/ ^ user.cpp:36:1: error: expected primary-expression before ‘for’ for(z=1;z<=k;z++) ^ user.cpp:36:1: error: expected ‘;’ before ‘for’ user.cpp:36:10: warning: statement has no effect [-Wunused-value] for(z=1;z<=k;z++) ^ user.cpp:36:17: error: expected ‘;’ before ‘)’ token for(z=1;z<=k;z++) ^ user.cpp:7:42: warning: unused variable ‘max’ [-Wunused-variable] int culoare[100], cate[100],i,nr,x,n,j,k,max=0,z,poz,y,start,final; ^ user.cpp:7:50: warning: unused variable ‘poz’ [-Wunused-variable] int culoare[100], cate[100],i,nr,x,n,j,k,max=0,z,poz,y,start,final; ^ user.cpp:7:54: warning: unused variable ‘y’ [-Wunused-variable] int culoare[100], cate[100],i,nr,x,n,j,k,max=0,z,poz,y,start,final; ^ user.cpp:7:56: warning: unused variable ‘start’ [-Wunused-variable] int culoare[100], cate[100],i,nr,x,n,j,k,max=0,z,poz,y,start,final; ^ user.cpp:7:62: warning: unused variable ‘final’ [-Wunused-variable] int culoare[100], cate[100],i,nr,x,n,j,k,max=0,z,poz,y,start,final; ^ user.cpp:63:10: error: expected ‘}’ at end of input return 0;} ^

Ceva nu functioneaza?