mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 22:46:39 +08:00
cpplint and msvc fixes for - sorting
This commit is contained in:
@@ -34,8 +34,8 @@ void beadSort(int *a, int len) {
|
||||
// Put sorted values in array using beads
|
||||
for (int i = 0; i < len; i++) {
|
||||
int j;
|
||||
for (j = 0; j < max && BEAD(i, j); j++)
|
||||
;
|
||||
for (j = 0; j < max && BEAD(i, j); j++) {
|
||||
}
|
||||
|
||||
a[i] = j;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user