Borderou de evaluare (job #2036294)

Utilizator StefanLazarStefan Lazar StefanLazar Data 10 octombrie 2017 16:18:55
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:2:1: error: ‘ifstream’ does not name a type ifstream f("secventa.in"); ^ user.cpp:3:1: error: ‘ofstream’ does not name a type ofstream g("secventa.out"); ^ user.cpp: In function ‘void citire()’: user.cpp:15:5: error: ‘f’ was not declared in this scope f>>n>>k; ^ user.cpp:16:5: error: ‘fin’ was not declared in this scope fin.get(); ^ user.cpp: In function ‘void rezolvare()’: user.cpp:85:5: error: ‘g’ was not declared in this scope g<<c1<< " " <<c2<< " " <<maxi<< "\n"; ^ user.cpp: In function ‘int main()’: user.cpp:93:5: error: ‘f’ was not declared in this scope f.close(); ^ user.cpp:94:5: error: ‘g’ was not declared in this scope g.close(); ^

Ceva nu functioneaza?