Borderou de evaluare (job #1485731)

Utilizator DavidCelJmekerPopescu David Ioan DavidCelJmeker Data 12 septembrie 2015 20:00:26
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:5: error: expected initializer before ‘ifstream’ ifstream in("fact.in") ; ^ user.cpp:10:21: error: ‘p’ was not declared in this scope int st=0 , dr=5*p , p , mj, last; ^ user.cpp:11:5: error: ‘in’ does not name a type in>>p; ^ user.cpp:12:5: error: ‘last’ does not name a type last=-1; ^ user.cpp:13:5: error: expected unqualified-id before ‘while’ while(st<=dr){ ^

Ceva nu functioneaza?