摘要: 一、排序 ref quicksort及partition相关问题1. quicksortcode1:[首选] 1 int partition(vector &arr, int low, int high) 2 { 3 int pivot = arr[low]; 4 int i = l... 阅读全文
posted @ 2015-04-28 08:21 Ryan in C++ 阅读(379) 评论(0) 推荐(0) 编辑