Borderou de evaluare (job #2609624)
Utilizator | Data | 2 mai 2020 22:34:05 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ifstream' does not name a type
ifstream in("fact.in");
^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
ofstream out("fact.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:26:5: error: 'in' was not declared in this scope
in>>p;
^~
main.cpp:35:5: error: 'out' was not declared in this scope
out<<i;
^~~
main.cpp:25:11: warning: unused variable 'n' [-Wunused-variable]
int i,n,p;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !