Borderou de evaluare (job #854970)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Adunare | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 25 feb. 2026 22:50:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:2: error: invalid preprocessing directive #inlcude; did you mean #include?
2 | #inlcude <iostream>
| ^~~~~~~
| include
main.cpp: In function 'int main()':
main.cpp:16:10: error: invalid use of non-static member function 'void std::basic_ofstream<_CharT, _Traits>::close() [with _CharT = char; _Traits = std::char_traits<char>]'
16 | fout.close;
| ~~~~~^~~~~
In file included from main.cpp:3:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/fstream:1051:7: note: declared here
1051 | close()
| ^~~~~