Borderou de evaluare (job #787379)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 sept. 2024 03:01:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:6: error: 'ifstream' does not name a type
2 | ifstream fin("centruprim.in"); ofstream fout("centruprim.out");
| ^~~~~~~~
main.cpp:2:37: error: 'ofstream' does not name a type
2 | ifstream fin("centruprim.in"); ofstream fout("centruprim.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:18:4: error: 'fin' was not declared in this scope; did you mean 'sin'?
18 | fin>>s;
| ^~~
| sin
main.cpp:23:5: error: 'fout' was not declared in this scope
23 | fout<<"1";
| ^~~~
main.cpp:25:5: error: 'fout' was not declared in this scope
25 | fout<<"0";
| ^~~~