Borderou de evaluare (job #2247230)

Utilizator baciuandreiBaciu Andrei baciuandrei Data 28 septembrie 2018 08:40:54
Problema Ceas3 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:2:1: error: ‘ifstream’ does not name a type ifstream f("ceas3.in"); ^~~~~~~~ user.cpp:3:1: error: ‘ofstream’ does not name a type ofstream g("ceas3.out"); ^~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:9:11: error: ‘f’ was not declared in this scope while(f>>a){ ^ user.cpp:12:13: error: ‘g’ was not declared in this scope g<<'0'; ^ user.cpp:13:9: error: ‘g’ was not declared in this scope g<<h<<':'; ^ user.cpp:18:5: error: ‘f’ was not declared in this scope f.close(); ^ user.cpp:19:5: error: ‘g’ was not declared in this scope g.close(); ^

Ceva nu functioneaza?