Borderou de evaluare (job #2482564)
Utilizator | Data | 28 octombrie 2019 16:03:42 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type
ifstream fin("algsort.in");
^
main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type
ofstream fout("algsort.out");
^
main.cpp: In function 'int pivot(int, int)':
main.cpp:15:13: error: expected ';' before 'v'
v[j] = aux;
^
main.cpp:13:17: warning: unused variable 'aux' [-Wunused-variable]
int aux = v[i];
^~~
main.cpp: In function 'int main()':
main.cpp:42:28: error: expected '}' at end of input
fout << v[i] << ' ';
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !