This commit is contained in:
2025-09-10 16:48:26 +02:00
parent 71b9841e88
commit e79d0ca56f
5 changed files with 5 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ void sort_students(int** students_rank, int** students_array, int students_numbe
{
grades[j] = students_array[j][i];
}
bubblesort(grades,students_number);
heapsort(grades,students_number);
for(j = 0; j < students_number; j++)
{
students_rank[j][i] = find_rank_student(students_array[j][i],grades,students_number);