Borderou de evaluare (job #3137001)
Utilizator | Data | 10 iunie 2023 07:36:45 | |
---|---|---|---|
Problema | Generare de permutari | 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
4 | ifstream fin("algsort.in");
| ^
main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type
5 | ofstream fout("algsort.out");
| ^
main.cpp: In function 'int main()':
main.cpp:8:9: error: storage size of 'arr' isn't known
8 | int arr[],n;
| ^~~
main.cpp:11:9: error: redeclaration of 'int n'
11 | int n=sizeof( arr )/sizeof( arr[0] );
| ^
main.cpp:8:15: note: 'int n' previously declared here
8 | int arr[],n;
| ^
main.cpp:15:9: warning: unused variable 'temp' [-Wunused-variable]
15 | int temp, j;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !