Skip to content

Commit ced2275

Browse files
committed
🎉
1 parent 3fe8d5d commit ced2275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Finals/2018resit/problem3/prob3-2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int mergeSort(int length, int arr[]) {
4141
// total number of inversions to add is the number of
4242
// elements currently left in the left array: mid - l
4343
arr[idx] = right[r];
44-
r++; count += (mid - l) ;
44+
r++; count += mid - l;
4545
}
4646
idx++;
4747
}

0 commit comments

Comments
 (0)