Borderou de evaluare (job #1104901)

Utilizator bencehHach Bence benceh Data 11 februarie 2014 10:47:05
Problema Numar4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream g ("numar4.out") ^ user.cpp:6:43: error: ‘nr2’ does not name a type long long ni,nz,k=0,a,j,m=0,b=1,x,y,nr1=0;nr2=0; ^ user.cpp: In function ‘int main()’: user.cpp:9:8: error: ‘ni’ was not declared in this scope f>>ni>>nz; ^ user.cpp:9:12: error: ‘nz’ was not declared in this scope f>>ni>>nz; ^ user.cpp:10:9: error: ‘i’ was not declared in this scope for(i=1;i<=n1;i++) ^ user.cpp:10:16: error: ‘n1’ was not declared in this scope for(i=1;i<=n1;i++) ^ user.cpp:12:9: error: ‘x’ was not declared in this scope f>>x; ^ user.cpp:13:6: error: ‘k’ was not declared in this scope k=k*10+x; ^ user.cpp:14:6: error: ‘nr1’ was not declared in this scope nr1=nr1+1 ^ user.cpp:15:2: error: expected ‘;’ before ‘}’ token } ^ user.cpp:16:2: error: ‘b’ was not declared in this scope b=1; ^ user.cpp:17:6: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:17:13: error: ‘n’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:19:10: error: ‘y’ was not declared in this scope f>>y; ^ user.cpp:20:7: error: ‘k’ was not declared in this scope k=k*10+y; ^ user.cpp:23:13: error: ‘k’ was not declared in this scope int aux1=k;aux2=b ^ user.cpp:23:15: error: ‘aux2’ was not declared in this scope

Ceva nu functioneaza?