Borderou de evaluare (job #3368119)
| Utilizator | Data | 13 octombrie 2026 11:30:36 | |
|---|---|---|---|
| Problema | BFS - Parcurgere in latime | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:52:9: error: invalid use of non-static member function 'void std::basic_ifstream<_CharT, _Traits>::close() [with _CharT = char; _Traits = std::char_traits<char>]'
52 | fin.close;
| ~~~~^~~~~
In file included from main.cpp:3:
/usr/include/c++/12.2.1/fstream:735:7: note: declared here
735 | close()
| ^~~~~
main.cpp:53:10: error: invalid use of non-static member function 'void std::basic_ofstream<_CharT, _Traits>::close() [with _CharT = char; _Traits = std::char_traits<char>]'
53 | fout.close;
| ~~~~~^~~~~
/usr/include/c++/12.2.1/fstream:998:7: note: declared here
998 | close()
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
