摘要: #include#include#includetypedef struct node{ int data; int mark; struct node*lchild,*rchild,*parent;}tnode,*tree;tree creat(){ int x; t... 阅读全文
posted @ 2015-04-25 16:13 Thereisnospon 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include#include#includetypedef struct node{ int data,tag; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("... 阅读全文
posted @ 2015-04-25 16:13 Thereisnospon 阅读(153) 评论(0) 推荐(0) 编辑
摘要: #include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
posted @ 2015-04-25 16:10 Thereisnospon 阅读(138) 评论(0) 推荐(0) 编辑
摘要: #include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
posted @ 2015-04-25 16:10 Thereisnospon 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #includeint L[6+1]={0,2,4,0,6,0,0};int R[6+1]={0,3,5,0,0,0,0};int T[6+1];int n=6;void TransTo(){ int i; for(i=1;i<=n;i++) { T[L[i]]=i;... 阅读全文
posted @ 2015-04-25 16:09 Thereisnospon 阅读(123) 评论(0) 推荐(0) 编辑
摘要: #includeint L[6+1]={0,2,4,0,6,0,0};int R[6+1]={0,3,5,0,0,0,6};int n=6;int IfSon(int u,int v){ if(u&&v){ if(L[v]==u||R[v]==u) retur... 阅读全文
posted @ 2015-04-25 16:09 Thereisnospon 阅读(159) 评论(0) 推荐(0) 编辑
摘要: The kth great numberTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65768/65768K (Java/Other)Total Submission(s) : 4Accepted Submission(s) : 3Font... 阅读全文
posted @ 2015-04-24 17:54 Thereisnospon 阅读(109) 评论(0) 推荐(0) 编辑
摘要: StonesTime Limit : 5000/3000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 4Accepted Submission(s) : 3Font:Times New Rom... 阅读全文
posted @ 2015-04-24 17:50 Thereisnospon 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 看病要排队Time Limit : 3000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 16Accepted Submission(s) : 9Font:Times New Rom... 阅读全文
posted @ 2015-04-24 17:47 Thereisnospon 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Windows Message QueueTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 7Accepted Submission(s) : 3Fon... 阅读全文
posted @ 2015-04-24 17:44 Thereisnospon 阅读(137) 评论(0) 推荐(0) 编辑