Borderou de evaluare (job #702089)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezark (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 mar. 2023 21:09:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
1 | include <fstream>
| ^~~~~~~
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream fin ( "cezark.in" );
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream fout ( "cezark.out" );
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:3: error: 'fin' was not declared in this scope
12 | fin >> k;
| ^~~
main.cpp:17:5: error: 'fout' was not declared in this scope
17 | fout.put (c);
| ^~~~