摘要: #include #include #include using namespace std;int partition(int arr[], int l, int r){ int x = arr[r], i = l; for (int j = l; j k) ... 阅读全文
posted @ 2016-03-31 19:54 牧羊少年10号 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std;const int a[] = { 4, 1, 0, 0, 7, 0, 0 };int index = 0;struct TreeNode { int va... 阅读全文
posted @ 2016-03-31 18:46 牧羊少年10号 阅读(241) 评论(0) 推荐(0) 编辑