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