6 i am retarded

This commit is contained in:
NaiJi ✨ 2024-04-22 09:51:59 +04:00
parent 734fea77a6
commit ca75859311
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{ {