Borderou de evaluare (job #3145979)
Utilizator | Data | 17 august 2023 18:10:59 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:20:10: error: redefinition of 'std::ifstream f'
20 | ifstream f("functii.in");
| ^
main.cpp:4:10: note: 'std::ifstream f' previously declared here
4 | ifstream f("functii.in");
| ^
main.cpp:21:10: error: redefinition of 'std::ofstream g'
21 | ofstream g("functii.out");
| ^
main.cpp:5:10: note: 'std::ofstream g' previously declared here
5 | ofstream g("functii.out");
| ^
main.cpp:22:11: error: redefinition of 'const int MOD'
22 | const int MOD=30103;
| ^~~
main.cpp:6:11: note: 'const int MOD' previously defined here
6 | const int MOD=30103;
| ^~~
main.cpp:23:5: error: redefinition of 'int main()'
23 | int main()
| ^~~~
main.cpp:7:5: note: 'int main()' previously defined here
7 | int main()
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !