![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言-study
robot00
这个作者很懒,什么都没留下…
展开
-
合并两个单向有序(升序)链表
写在博客上只为了方便查看,自己第一次写,欢迎指正/* 合并两个单向有序(升序)链表*/#include<stdio.h> #include<malloc.h> typedef struct a { int data; struct a *next; }A;A* creat(int n) // 创建单向链表(带头结点) { A *prior, *current,原创 2017-02-25 21:42:17 · 1842 阅读 · 0 评论 -
文章标题
代码简单,仅做记录。/* 递归求二进制 */ #include<stdio.h> #include<string.h> int b_d (char *a, int x) { static int i = 0; int j = 0; if(x == 0) return x%2; else { j = (b_d(a, x/2)原创 2017-03-05 20:53:02 · 176 阅读 · 0 评论