Borderou de evaluare (job #1551752)

Utilizator ioanalexandraIoan Alexandra ioanalexandra Data 16 decembrie 2015 16:20:52
Problema Maxd 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:14:13: error: ‘j’ was not declared in this scope for(j=i+i;j<100000;j+=i;) ^ user.cpp:14:32: error: expected ‘)’ before ‘;’ token for(j=i+i;j<100000;j+=i;) ^ user.cpp:14:33: error: expected primary-expression before ‘)’ token for(j=i+i;j<100000;j+=i;) ^ user.cpp:14:33: error: expected ‘;’ before ‘)’ token user.cpp:17:5: error: ‘j’ was not declared in this scope j=0; ^ user.cpp:26:9: error: expected ‘;’ before ‘while’ while(x>1) ^ user.cpp:48:1: error: expected ‘}’ at end of input } ^ user.cpp:7:17: warning: unused variable ‘minn’ [-Wunused-variable] int a,b,i,x,minn,nrdiv=0,contor,nd,d,p,v[100000],s[10000]; ^ user.cpp:7:22: warning: unused variable ‘nrdiv’ [-Wunused-variable] int a,b,i,x,minn,nrdiv=0,contor,nd,d,p,v[100000],s[10000]; ^ user.cpp:7:30: warning: unused variable ‘contor’ [-Wunused-variable] int a,b,i,x,minn,nrdiv=0,contor,nd,d,p,v[100000],s[10000]; ^ user.cpp:7:42: warning: unused variable ‘p’ [-Wunused-variable] int a,b,i,x,minn,nrdiv=0,contor,nd,d,p,v[100000],s[10000]; ^ user.cpp:48:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?