Borderou de evaluare (job #2650462)
Utilizator | Data | 18 septembrie 2020 21:34:17 | |
---|---|---|---|
Problema | Statistici de ordine | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:18: error: variable 'std::ifstream fin' has initializer but incomplete type
ifstream fin ("sdo.in");
^
main.cpp:9:19: error: variable 'std::ofstream fout' has initializer but incomplete type
ofstream fout ("sdo.out");
^
main.cpp:15:16: error: 'v' was not declared in this scope
fin >> v[i];
^
main.cpp:17:17: error: 'v' was not declared in this scope
nth_element(v, v + k - 1, v + n);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !