to7str

   ::  ::  :: 联系 ::  :: 管理

2013年8月7日

摘要: #include#include#define DEBUG ({for(k = l ; k x) j--; /* 从右向左找第一个小于x的数 */ if(i %d\n", s[i], s[j]); s[j--] = s[i]; } } printf("s[%d]%d <--- %d\n",i, s[i], x); s[i] = x; DEBUG;printf("\n"); quickSort(s, l, i - 1); qui... 阅读全文
posted @ 2013-08-07 22:42 to7str 阅读(188) 评论(0) 推荐(0)