Borderou de evaluare (job #2213072)
Utilizator | Data | 15 iunie 2018 16:45:24 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: ‘ifstream’ does not name a type
ifstream f("euclid2.in");
^~~~~~~~
user.cpp:9:1: error: ‘ofstream’ does not name a type
ofstream g("euclid2.out");
^~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:13:5: error: ‘f’ was not declared in this scope
f>>t;
^
user.cpp:27:9: error: ‘g’ was not declared in this scope
g<<b<<endl;
^
user.cpp:27:15: error: ‘endl’ was not declared in this scope
g<<b<<endl;
^~~~
user.cpp:27:15: note: suggested alternative:
In file included from /usr/include/c++/6/iostream:39:0,
from user.cpp:1:
/usr/include/c++/6/ostream:590:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !