Chinaunix首页 | 论坛 | 博客
  • 博客访问: 344758
  • 博文数量: 135
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1106
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-20 09:56
文章分类

全部博文(135)

文章存档

2017年(3)

2016年(18)

2015年(69)

2014年(39)

2013年(6)

我的朋友

发布时间:2015-11-12 14:36:50

1.a = a+bb = a-ba = a-b2.a ^= bb ^= aa ^= b......【阅读全文】

阅读(297) | 评论(0) | 转发(0)

发布时间:2015-11-11 17:13:36

void selectsort(int a[], int n){    int temp;    for (i = 0; i < length-1; i++)    {        temp = i;        for (j = i+1; j ......【阅读全文】

阅读(368) | 评论(0) | 转发(0)

发布时间:2015-11-11 16:51:19

void quicksort(int a[], int left, int right){    if (left < right)    {        int low = left;        int high = right;        int key = a[left];  .........【阅读全文】

阅读(492) | 评论(0) | 转发(0)

发布时间:2015-11-06 10:44:33

//有序单链表合并Node *MergeList(Node *head1, Node *head2){    Node *p1 = NULL;    Node *p2 = NULL;    Node *head = NULL;    if (head1->data < head2->data)    {        head = head1;.........【阅读全文】

阅读(354) | 评论(0) | 转发(0)

发布时间:2015-11-05 18:45:59

void former_traverse(BTree *root){    Stack s;    BTree *p = root;    while (p != NULL | !s.empty())    {        while (p != NULL)        {  &.........【阅读全文】

阅读(527) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册