Borderou de evaluare (job #1003304)

Utilizator PetrutiuPaulPetrutiu Paul Gabriel PetrutiuPaul Data 30 septembrie 2013 12:47:46
Problema Ubercool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long int prim(long long int)’: user.cpp:10:6: error: ‘i’ was not declared in this scope for(i=2;i*i<=x;i++) ^ user.cpp: In function ‘int main()’: user.cpp:26:4: error: ‘x’ was not declared in this scope {x= pow(nr,(double)1.0/j)+0.000000001; ^ user.cpp:27:51: error: expected primary-expression before ‘unsigned’ if(x-(unsigned long long)x<=0.000000001 && prim(unsigned long long x)==1) ^ user.cpp:28:4: error: ‘fout’ was not declared in this scope fout<<"DA\n",ok=0 ^ user.cpp:29:3: error: expected ‘;’ before ‘}’ token } ^ user.cpp:30:11: error: ‘fout’ was not declared in this scope if(ok==1)fout<<"NU"; ^

Ceva nu functioneaza?