数据结构约色夫程序代码

时间:2011-12-12 13:19:44
【文件属性】:
文件名称:数据结构约色夫程序代码
文件大小:1KB
文件格式:TXT
更新时间:2011-12-12 13:19:44
数据结构 #include #include #include struct node{ int data1; /*weishu*/ int data2; /*mima*/ struct node *next; }; void main() { int n,i,b,m,j; struct node *l=(struct node *)malloc(sizeof(struct node)); /*定义一个空结点*/ struct node *p,*q; printf("shu ru zong ge shu n:"); scanf("%d",&n); /*测试个数*/ q=l;

网友评论