Borderou de evaluare (job #725322)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere24 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 iun. 2023 17:02:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:10: error: conflicting declaration 'std::ofstream fin'
5 | ofstream fin("numere24.out");
| ^~~
main.cpp:4:10: note: previous declaration as 'std::ifstream fin'
4 | ifstream fin("numere24.in");
| ^~~
main.cpp: In function 'int main()':
main.cpp:30:13: error: 'fout' was not declared in this scope
30 | fout<<"0";
| ^~~~
main.cpp:34:13: error: 'fout' was not declared in this scope
34 | fout<<"1";
| ^~~~
main.cpp:48:16: error: 'fout' was not declared in this scope
48 | fout<<"0"<<" ";
| ^~~~
main.cpp:52:17: error: 'fout' was not declared in this scope
52 | fout<<"2"<<" ";
| ^~~~
main.cpp:56:17: error: 'fout' was not declared in this scope
56 | fout<<"1";
| ^~~~