Borderou de evaluare (job #2285872)

Utilizator Xutzu358Ignat Alex Xutzu358 Data 19 noiembrie 2018 14:24:01
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include<fstream.h> ^~~~~~~ main.cpp: In function 'int main()': main.cpp:25:2: error: 'ifstream' was not declared in this scope ifstream fin(input); ^~~~~~~~ main.cpp:26:2: error: 'ofstream' was not declared in this scope ofstream fout(output); ^~~~~~~~ main.cpp:27:2: error: 'fin' was not declared in this scope fin>>p; ^~~ main.cpp:45:15: error: 'check' was not declared in this scope if(check(x,p)) ^ main.cpp:46:4: error: 'fout' was not declared in this scope fout<<x; ^~~~ main.cpp:48:4: error: 'fout' was not declared in this scope fout<<"-1"; ^~~~ main.cpp:52:4: error: 'fout' was not declared in this scope fout<<"1"; ^~~~ main.cpp:54:2: error: 'fout' was not declared in this scope fout.close(); ^~~~ Non zero exit status: 1

Ceva nu functioneaza?