摘要:
#include #include #include typedef struct sta { int i; int j; int d; struct sta *next; }stack; int migong[50][50]={1};//首先全部定义为墙壁 void push(stack *p,... 阅读全文
摘要:
#include"stdio.h"#include"stdlib.h" typedef struct lnode //定义结构体{ int num,code; //编号和密码 struct lnode *next; }lnode;int main() { int i,j,key,n; ... 阅读全文
摘要:
//约瑟夫环#include#includetypedef struct node{int ID;//编号int password;//密码struct node *next;//指向下一个节点}ysfh;ysfh *write(ysfh *head,int n)//创建循环链表{int mima... 阅读全文
摘要:
/*约瑟夫环*/#include #include typedef struct node{ int data; struct node *next;}LNode;main(){ LNode* Create(int,int); LNode* GetNode(LNode *); int Print(... 阅读全文
摘要:
01、遇到真爱的人时,要努力争取和他相伴一生的机会,因为当他离开时,一切都来不及了; 02、遇到可以相信的朋友时,要好好和他相处下去,因为有一生中,遇到知己真的不易; 03、遇到贵人时,记得好好感激,因为他是你人生的转折点; 04、遇到曾经爱过的人时,要记得感激他,因为他让你更懂得爱; 05、遇到... 阅读全文