Borderou de evaluare (job #3211132)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 8 martie 2024 16:34:36
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:7: error: 'DIM' does not name a type 7 | const DIM = 500005; | ^~~ main.cpp:8:10: error: 'DIM' was not declared in this scope 8 | int n, v[DIM]; | ^~~ main.cpp: In function 'void QuickSort(int, int)': main.cpp:15:28: error: 'v' was not declared in this scope 15 | int temp = v[st]; | ^ main.cpp: In function 'int main()': main.cpp:39:24: error: 'v' was not declared in this scope 39 | fin >> v[i]; | ^ main.cpp:44:25: error: 'v' was not declared in this scope 44 | fout << v[i] << " "; | ^ Non zero exit status: 1

Ceva nu functioneaza?