Borderou de evaluare (job #966185)

Utilizator Andrei_PavelAndrei Pave Andrei_Pavel Data 25 iunie 2013 14:50:54
Problema Puternic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:10: error: expected initializer before ‘diviz’ int huge diviz[70][1000],nrdiv[70],dmax[70],l[70]; ^ user.cpp: In function ‘void buildprimes()’: user.cpp:21:28: error: ‘sqrt’ was not declared in this scope for(i=1;(prim[i]<=sqrt(nr))&&(i<=n)&&(eprim);i++) ^ user.cpp: In function ‘int main()’: user.cpp:30:2: error: ‘nrdiv’ was not declared in this scope nrdiv[1]=1; dmax[1]=0; l[1]=1; compus[1]=1; ^ user.cpp:30:14: error: ‘dmax’ was not declared in this scope nrdiv[1]=1; dmax[1]=0; l[1]=1; compus[1]=1; ^ user.cpp:30:25: error: ‘l’ was not declared in this scope nrdiv[1]=1; dmax[1]=0; l[1]=1; compus[1]=1; ^ user.cpp:41:25: error: ‘diviz’ was not declared in this scope temp=((nrdiv[j])/(diviz[j][k]+1))*(diviz[j][k]+2); ^ user.cpp:49:27: error: ‘diviz’ was not declared in this scope for(k=1;k<=l[pi]+1;k++) diviz[i][k]=diviz[pi][k]; ^ user.cpp:50:3: error: ‘diviz’ was not declared in this scope diviz[i][pj]++; l[i]=l[pi]; if (diviz[i][l[pi]+1]) l[i]++; ^

Ceva nu functioneaza?