Borderou de evaluare (job #757812)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre 3 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 ian. 2024 16:52:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:41:10: error: redefinition of 'std::ifstream fin'
41 | ifstream fin("cifre3.in");
| ^~~
main.cpp:6:10: note: 'std::ifstream fin' previously declared here
6 | ifstream fin("cifre3.in");
| ^~~
main.cpp:42:10: error: redefinition of 'std::ofstream fout'
42 | ofstream fout("cifre3.out");
| ^~~~
main.cpp:7:10: note: 'std::ofstream fout' previously declared here
7 | ofstream fout("cifre3.out");
| ^~~~
main.cpp:44:5: error: redefinition of 'int main()'
44 | int main()
| ^~~~
main.cpp:11:5: note: 'int main()' previously defined here
11 | int main()
| ^~~~