Borderou de evaluare (job #2325554)

Utilizator MeinsterSanta David Meinster Data 22 ianuarie 2019 18:53:50
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:2: error: 'ifstream' does not name a type ifstream f euclid2.in; ^~~~~~~~ main.cpp:3:2: error: 'ofstream' does not name a type ofstream g euclid2.out; ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:7:2: error: 'f' was not declared in this scope f>>n; ^ main.cpp:16:5: error: 'g' was not declared in this scope g<<a<<endl; ^ main.cpp:16:11: error: 'endl' was not declared in this scope g<<a<<endl; ^~~~ main.cpp:16:11: note: suggested alternative: In file included from /usr/include/c++/6/istream:39:0, from /usr/include/c++/6/fstream:38, from main.cpp:1: /usr/include/c++/6/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Non zero exit status: 1

Ceva nu functioneaza?