Borderou de evaluare (job #810382)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Adunscad (clasa a 8-a) | Compilator | cpp-32 |
Rundă | lasm_21_02_2025_clasa10 | Status | evaluat |
Dată | 21 feb. 2025 10:50:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
1 | #incldue <iostream>
| ^~~~~~~
| include
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream fin("adunscad.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream fout("adunscad.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'fout' was not declared in this scope
9 | fout << 0 << endl;
| ^~~~
main.cpp:9:18: error: 'endl' was not declared in this scope
9 | fout << 0 << endl;
| ^~~~
main.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
+++ |+#include <ostream>
1 | #incldue <iostream>