摘要: 1 void QSort(float *R, int **P, int start, int end) 2 { 3 if (start >= end) return; 4 float tmp; 5 int *ptr; 6 if (start + 1 == end)/... 阅读全文
posted @ 2014-04-16 16:27 dongchuanniu 阅读(445) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;void zigzag(int**M, int N){ /** example N=5 结果 * 0 1 5 6 14 15 27 28 * ... 阅读全文
posted @ 2014-04-16 16:13 dongchuanniu 阅读(524) 评论(0) 推荐(0) 编辑