6 i am retarded
This commit is contained in:
parent
734fea77a6
commit
ca75859311
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
void bubble_sort(int array[], int size)
|
void bubble_sort(int array[], int size)
|
||||||
{
|
{
|
||||||
for (int i = 1; i < size; ++i)
|
for (int i = 0; i < size; ++i)
|
||||||
{
|
{
|
||||||
for (int j = 1; j < size - i; ++j)
|
for (int j = 1; j < size - i; ++j)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue