void qs(int h[], int l, int r)
{
if (l >= r) return;
int x = h[l+r>>1], i = l - 1, j = r + 1;
while (i < j)
{
do i++; while (h[i] < x);
do j--; while (h[j] > x);
if (i < j) swap(h[i],h[j]);
...
English Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《快速排序,模板》 | 256字 | 0.9分钟 | 100% | 252 CPM | 20 次 | 0 | 优秀,成绩不错哦! |
Inspirational quotes: 几乎所有的痛苦都来自于我们不善于在房间里独处。 ——帕斯卡尔 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |