Borderou de evaluare (job #757813)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre 3 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 ian. 2024 16:53:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin("cifre3.in");
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout("cifre3.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'fin' was not declared in this scope
10 | fin >> a >> b;
| ^~~
main.cpp:31:13: error: 'fout' was not declared in this scope
31 | fout << i << ' ';
| ^~~~
main.cpp:37:9: error: 'fout' was not declared in this scope
37 | fout << -1;
| ^~~~
main.cpp:40:5: error: 'fout' was not declared in this scope
40 | fout << '\n';
| ^~~~