void ReArranger (int A[]
//A和B是各有m個和n個整數的非降序數組
{ while (A[m
{x=A[m
j=
wkile(j<n && B[j]<x) B[j
B[j
x=A[m
wkile(i>=
A[i+
}
}算法結束
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/23027.html
void ReArranger (int A[]
//A和B是各有m個和n個整數的非降序數組
{ while (A[m
{x=A[m
j=
wkile(j<n && B[j]<x) B[j
B[j
x=A[m
wkile(i>=
A[i+
}
}算法結束
[