Borderou de evaluare (job #2037354)

Utilizator iandrei09Sucea Ionut iandrei09 Data 12 octombrie 2017 08:06:42
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘ifstream’ in namespace ‘std’ does not name a type std::ifstream fin("cautbin.in"); ^ user.cpp:2:1: error: ‘ofstream’ in namespace ‘std’ does not name a type std::ofstream fout("cautbin.out"); ^ user.cpp: In function ‘int main()’: user.cpp:11:5: error: ‘fin’ was not declared in this scope fin >> N; ^ user.cpp:20:13: error: ‘fout’ was not declared in this scope fout << BinarySearch0(1, N, v) << '\n'; ^ user.cpp:22:13: error: ‘fout’ was not declared in this scope fout << BinarySearch1(1, N, v) << '\n'; ^ user.cpp:24:13: error: ‘fout’ was not declared in this scope fout << BinarySearch2(1, N, v) << '\n'; ^ user.cpp:27:5: error: ‘fout’ was not declared in this scope fout.close(); ^

Ceva nu functioneaza?