Borderou de evaluare (job #858129)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Culori (clasa a 5-a) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 18 mar. 2026 16:47:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
2 | ifstream fin("culori.in");
| ^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
3 | ofstream fout("culori.out");
| ^~~~~~~~
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream fin("culori.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream fout("culori.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:9: error: 'fin' was not declared in this scope; did you mean 'sin'?
13 | fin>>n;
| ^~~
| sin
main.cpp:24:33: error: 'fout' was not declared in this scope
24 | fout<<i<<" ";
| ^~~~