![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
Mr-Lr
这个作者很懒,什么都没留下…
展开
-
树的简单操作
#include<stdio.h>#include"stdlib.h"typedef struct Node{ char data; struct Node *Lchild; struct Node *Rchild;}Bitnode,*BiTree;/*void CreateBitree(BiTree *root){ char ch; ch=getchar...原创 2016-12-06 22:26:45 · 331 阅读 · 0 评论 -
舞伴问题(2)
#include<stdio.h>#include<stdlib.h> #include<conio.h>#define max 100typedef struct{ char name[20]; char sex;}Person;typedef struct{ Person date[max]; int first; int las...原创 2016-12-04 21:52:28 · 408 阅读 · 0 评论 -
约瑟夫环
#include<stdio.h>#include<stdlib.h>typedef struct nodeType{ int id; int mi; struct nodeType *next;} NodeType,*Node;NodeType *creatlist(int n){ int i,x; NodeType *s,*r,*head=NUL...原创 2016-11-16 23:13:44 · 256 阅读 · 0 评论 -
多项式
#include<stdio.h>#include<stdlib.h>typedef struct node{ int zhi; int xi; struct node *next; }lnode,*linklist;linklist createPoly(){lnode *head,*s,*r;int a,b;head=(l...原创 2016-11-16 23:06:44 · 276 阅读 · 1 评论