Borderou de evaluare (job #2620470)
Utilizator | Data | 28 mai 2020 22:27:43 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
ifstream in("fact.in");
^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
ofstream out("fact.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:19:5: error: 'in' was not declared in this scope
in >> p;
^~
main.cpp:21:15: error: 'out' was not declared in this scope
if (p==0) out << 1;
^~~
main.cpp:35:9: error: 'out' was not declared in this scope
out << st;
^~~
main.cpp:37:9: error: 'out' was not declared in this scope
out << -1;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !