| 3 | #include<stdlib.h> |
| 4 | |
| 5 | void swap(int * x, int * y) { |
| 6 | int temp = * x; |
| 7 | * x = * y; |
| 8 | * y = temp; |
| 9 | } |
| 10 | void ShellSort(int A[], int n) { |
| 11 | int gap, i, j, temp; |
| 12 | for (gap = n / 2; gap >= 1; gap /= 2) { |
no outgoing calls
no test coverage detected