laojunyi  

2013年10月25日

摘要: 1 #include 2 #include 3 typedef struct node* link; 4 struct node {int item;link next;}; 5 int main (int argc, char *argv[]){ 6 7 int i, N=atoi(argv[1]), M=atoi(argv[2]); 8 link t=malloc(sizeof *t), x=t; 9 t->item =1; t->next=t;10 11 for(i=2;inext=malloc(sizeof *x));13 x->item=i;x->next=t 阅读全文
posted @ 2013-10-25 14:39 laojunyi 阅读(141) 评论(0) 推荐(0)

2013年9月24日

摘要: 还不是太会用,就先随便写写吧…… 阅读全文
posted @ 2013-09-24 13:14 laojunyi 阅读(184) 评论(0) 推荐(0)