二叉树
shengdai20
这个作者很懒,什么都没留下…
展开
-
nyoj756重建二叉树
#include int main() { int h, num, i, leaf; scanf("%d%d", &h, &num); while(h != 0 && num != 0) { leaf = 1; for(i = 0; i { if(num % 2 != 0原创 2014-10-15 20:09:59 · 404 阅读 · 0 评论 -
nyoj63小猴下落问题
#include int main() { int h, num, i, leaf; scanf("%d%d", &h, &num); while(h != 0 && num != 0) { leaf = 1; for(i = 0; i { if(num % 2 != 0原创 2014-10-15 20:11:02 · 364 阅读 · 0 评论