Borderou de evaluare (job #735335)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 oct. 2023 18:01:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream in("centruprim.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream out("centruprim.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:26:5: error: 'in' was not declared in this scope; did you mean 'n'?
26 | in>>n;
| ^~
| n
main.cpp:42:9: error: 'out' was not declared in this scope
42 | out<<0;
| ^~~
main.cpp:44:9: error: 'out' was not declared in this scope
44 | out<<1;
| ^~~