Borderou de evaluare (job #761074)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 feb. 2024 16:07:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin("cezar.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream fout("cezar.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:14:9: error: 'fin' was not declared in this scope
14 | fin.get(ch);
| ^~~
main.cpp:20:25: error: 'fout' was not declared in this scope
20 | fout<<'a';
| ^~~~
main.cpp:24:25: error: 'fout' was not declared in this scope
24 | fout<<(char)(ch+1);
| ^~~~