Skip to content
Snippets Groups Projects
Commit abdb17cb authored by Matteo Cicuttin's avatar Matteo Cicuttin
Browse files

INFO0939-2021 code.

parent a760699b
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,6 @@ insertionsort(int *a, size_t N) ...@@ -16,7 +16,6 @@ insertionsort(int *a, size_t N)
uint32_t i = j - 1; uint32_t i = j - 1;
while (i >= 0 && a[i] > key) while (i >= 0 && a[i] > key)
{ {
printf("%lu %lu\n", j, i);
a[i+1] = a[i]; a[i+1] = a[i];
i = i-1; i = i-1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment