Borderou de evaluare (job #822301)

Utilizator alexolteanuolteanu alexandru alexolteanu Data 23 noiembrie 2012 10:56:36
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int bsearch1(int, int, int)’: user.cpp:23: error: expected ‘)’ before ‘;’ token user.cpp:25: error: ‘else’ without a previous ‘if’ user.cpp:20: warning: unused variable ‘n’ user.cpp: In function ‘int main()’: user.cpp:49: error: ‘ifstream’ was not declared in this scope user.cpp:49: error: expected ‘;’ before ‘fin’ user.cpp:50: error: ‘ofstream’ was not declared in this scope user.cpp:50: error: expected ‘;’ before ‘fout’ user.cpp:51: error: ‘fin’ was not declared in this scope user.cpp:59: error: ‘fout’ was not declared in this scope user.cpp:61: error: ‘fout’ was not declared in this scope user.cpp:63: error: ‘fout’ was not declared in this scope user.cpp: At global scope: user.cpp:68: error: expected declaration before ‘}’ token

Ceva nu functioneaza?