Borderou de evaluare (job #3317321)
| Utilizator | Data | 23 octombrie 2025 09:54:58 | |
|---|---|---|---|
| Problema | Sortare prin comparare | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:9:10: error: redefinition of 'std::ifstream fin'
9 | ifstream fin("algsort.in");
| ^~~
main.cpp:4:10: note: 'std::ifstream fin' previously declared here
4 | ifstream fin("algsort.in");
| ^~~
main.cpp:10:10: error: redefinition of 'std::ofstream fout'
10 | ofstream fout("algsort.out");
| ^~~~
main.cpp:5:10: note: 'std::ofstream fout' previously declared here
5 | ofstream fout("algsort.out");
| ^~~~
main.cpp: In function 'int interclasare(int*, int, int)':
main.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
32 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
