Borderou de evaluare (job #1978614)

Utilizator babaian_danieldaniel babaian babaian_daniel Data 8 mai 2017 12:30:52
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:7: error: expected nested-name-specifier before ‘name’ using name space std; ^ user.cpp:3:7: error: ‘name’ has not been declared user.cpp:3:12: error: expected ‘;’ before ‘space’ using name space std; ^ user.cpp:3:12: error: ‘space’ does not name a type user.cpp:4:1: error: ‘ifstream’ does not name a type ifstream f("euclid2.in"); ^ user.cpp:5:1: error: ‘ofstream’ does not name a type ofstream g("euclid2.out"); ^ user.cpp: In function ‘int main()’: user.cpp:9:1: error: ‘f’ was not declared in this scope f>>c; ^ user.cpp:17:2: error: ‘t’ was not declared in this scope t=t-1; ^ user.cpp:20:2: error: ‘g’ was not declared in this scope g<<d ^ user.cpp:22:2: error: expected ‘;’ before ‘}’ token } ^

Ceva nu functioneaza?