Borderou de evaluare (job #1364380)

Utilizator alexvamesuAlex Vamesu alexvamesu Data 27 februarie 2015 17:21:26
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream f("fact.in") ^ user.cpp: In function ‘int main()’: user.cpp:9:5: error: ‘f’ was not declared in this scope f>>P; ^ user.cpp:11:14: error: ‘g’ was not declared in this scope if(P==2) g<<N+1; ^ user.cpp:12:10: error: ‘g’ was not declared in this scope else g<<N; ^ user.cpp:8:11: warning: unused variable ‘i’ [-Wunused-variable] int P,i,x,y,a,b,N; ^ user.cpp:8:13: warning: unused variable ‘x’ [-Wunused-variable] int P,i,x,y,a,b,N; ^ user.cpp:8:15: warning: unused variable ‘y’ [-Wunused-variable] int P,i,x,y,a,b,N; ^ user.cpp:8:17: warning: unused variable ‘a’ [-Wunused-variable] int P,i,x,y,a,b,N; ^ user.cpp:8:19: warning: unused variable ‘b’ [-Wunused-variable] int P,i,x,y,a,b,N; ^

Ceva nu functioneaza?