gaochenggaocheng.blog.chinaunix.net
gaocheng
全部博文(156)
2016年(2)
2013年(1)
2012年(13)
2011年(30)
2010年(46)
2009年(29)
2008年(23)
2007年(12)
yb1018
send_lin
Roemer
wb123456
LikeFace
欧阳莉姿
cynthia
浪花小雨
三角湖的
夜雨曲飞
liuhao66
Buddy_Zh
分类: C/C++
2008-10-17 17:17:29
void
{
if (l >= u)
//swap(l, randint(l, u));
m = l;
for (i = l + 1; i <= u; i++)
swap(l, m);
quicksort(l, m - 1);
quicksort(m + 1, u);
}
from <>
上一篇:在一个数组中寻找第K大的元素
下一篇:Platform Devices and Drivers
登录 注册