Borderou de evaluare (job #1153753)

Utilizator razvandraghiciDraghici Razvan razvandraghici Data 25 martie 2014 18:20:06
Problema Excel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:23: error: conflicting declaration ‘int g’ int a,b,c,m,n,i,j,k,h,g,s2,x[301],y[301]; ^ user.cpp:4:10: error: ‘g’ has a previous declaration as ‘std::ofstream g’ ofstream g("excel.out"); ^ user.cpp: In function ‘int main()’: user.cpp:12:6: error: ‘nr’ was not declared in this scope nr=0; ^ user.cpp:18:7: error: ‘nr1’ was not declared in this scope nr1=nr1*10+s[i]-'0'; ^ user.cpp:19:14: error: ‘nr1’ was not declared in this scope y[n]=nr1; ^ user.cpp:21:5: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?