Borderou de evaluare (job #751422)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | vs_7_8_9_dec | Status | evaluat |
Dată | 16 dec. 2023 11:03:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:32:10: error: redefinition of 'std::ifstream fin'
32 | ifstream fin("comune.in");
| ^~~
main.cpp:4:10: note: 'std::ifstream fin' previously declared here
4 | ifstream fin("comune.in");
| ^~~
main.cpp:33:10: error: redefinition of 'std::ofstream fout'
33 | ofstream fout("comune.out");
| ^~~~
main.cpp:5:10: note: 'std::ofstream fout' previously declared here
5 | ofstream fout("comune.out");
| ^~~~
main.cpp:35:5: error: redefinition of 'int main()'
35 | int main()
| ^~~~
main.cpp:7:5: note: 'int main()' previously defined here
7 | int main()
| ^~~~