|
@ -71,7 +71,7 @@ public class Suchalgorythmen { |
|
|
// number, exp is passed. exp is 10^i |
|
|
// number, exp is passed. exp is 10^i |
|
|
// where i is current digit number |
|
|
// where i is current digit number |
|
|
for (int exp = 1; m / exp > 0; exp *= 10) |
|
|
for (int exp = 1; m / exp > 0; exp *= 10) |
|
|
COUNTINGSORT(arr, exp); |
|
|
|
|
|
|
|
|
COUNTINGSORT(arr); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static void random(int arr[], int low, int high) { |
|
|
static void random(int arr[], int low, int high) { |
|
|