Borderou de evaluare (job #2280743)

Utilizator radu_stStoican Radu radu_st Data 11 noiembrie 2018 09:24:08
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:8:13: error: conflicting declaration 'std::ofstream fin' ofstream fin("euclid2.out"); ^ main.cpp:7:10: note: previous declaration as 'std::ifstream fin' ifstream fin("euclid2.in"); ^~~ main.cpp:13:9: error: 'x' was not declared in this scope x = x - y; ^ main.cpp:13:17: error: 'y' was not declared in this scope x = x - y; ^ main.cpp:15:9: error: 'y' was not declared in this scope y = y - x; ^ main.cpp:15:17: error: 'x' was not declared in this scope y = y - x; ^ Non zero exit status: 1

Ceva nu functioneaza?