摘要: #include#includeint total;typedef struct node{ int data; struct node * next;}Node;void CreateNode(Node *&L,int a[],int n)//尾插法建立单链表{ int i; Node *p,*r... 阅读全文
posted @ 2015-04-04 20:38 殇林 阅读(416) 评论(0) 推荐(0) 编辑
摘要: #include#includetypedef struct node{ int data; struct node * next;}*P_node,node;P_node CreateNode(int x)//开辟节点,创建节点{ P_node q=(P_node)malloc(sizeof(no... 阅读全文
posted @ 2015-04-03 19:53 殇林 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 出处复制的 阅读全文
posted @ 2015-03-17 12:58 殇林 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 题目描述:Calculate a+bDescriptionTwo integer a,b (0int main(){inta,b;while(scanf("%d%d",&a,&b)!=EOF){printf("%d\n",a+b);}return 0;} 阅读全文
posted @ 2015-03-14 14:38 殇林 阅读(122) 评论(0) 推荐(0) 编辑