Borderou de evaluare (job #2305168)
Utilizator | Data | 19 decembrie 2018 15:19:30 | |
---|---|---|---|
Problema | Cautare binara | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
ifstream fin("cautbin.in");
^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
ofstream fout("cautbin.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29:5: error: 'fin' was not declared in this scope
fin>>n;
^~~
main.cpp:50:17: error: 'fout' was not declared in this scope
fout<<l-1;
^~~~
main.cpp:52:17: error: 'fout' was not declared in this scope
fout<<-1;
^~~~
main.cpp:66:13: error: 'fout' was not declared in this scope
fout<<l-1;
^~~~
main.cpp:81:13: error: 'fout' was not declared in this scope
fout<<l;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !