代码搜索:bubble
找到约 1,120 项符合「bubble」的源代码
代码结果 1,120
www.eeworm.com/read/368723/7102195
c bubble.c
/***************************************************************************
* Copyright
www.eeworm.com/read/368723/7102205
apj bubble.apj
www.eeworm.com/read/189342/7114982
c bubble.c
#include
#include
void bubble_sort(int array[], int size)
{
int temp, i, j;
for (i = 0; i < size; i++)
for (j = 0; j < size; j++)
if (array[i] < array
www.eeworm.com/read/274717/7127482
c bubble.c
/* 两种起泡排序中比较次数对比。排序过程中后半有序区逐渐增长 */
#include
#include
#define M 20
int r[M],s[M],i,j,change;
long count;
void bubble_sort(int a[ ], int n){ /* 扫描范围(无序区)每次缩小1 */
int tem
www.eeworm.com/read/459616/7270429
h bubble.h
#include "swap.h"
#include "max.h"
template
void SelectionSort(type *a, int n)
{// Sort the n elements a[0:n-1].
for (int size = n; size > 1; size--) {
int j = max(a, size);
www.eeworm.com/read/458682/7291433
sh bubble.sh
#!/bin/bash
# bubble.sh: Bubble sort, of sorts.
# Recall the algorithm for a bubble sort. In this particular version...
# With each successive pass through the array to be sorted,
#+ compare two ad
www.eeworm.com/read/453496/7418308
c bubble.c
#include
#include
void bubble_sort(int array[], int size)
{
int temp, i, j;
for (i = 0; i < size; i++)
for (j = 0; j < size; j++)
if (array[i] < array
www.eeworm.com/read/451329/7467097
c bubble.c
#include
#include
void bubble_sort(int array[], int size)
{
int temp, i, j;
for (i = 0; i < size; i++)
for (j = 0; j < size; j++)
if (array[i] < array
www.eeworm.com/read/450470/7483297
c bubble.c
#include
#include
void bubble_sort(int array[], int size)
{
int temp, i, j;
for (i = 0; i < size; i++)
for (j = 0; j < size; j++)
if (array[i] < array
www.eeworm.com/read/449922/7493921