摘要: 第一行输入一个整数n,第二行接下来n个整数,互不相同,第三行输入一个整数m<=n;接下来m行每行一个整数为要删除的整数都是上面出现过的整数。View Code /*其中没有相同的元素*/#include<iostream>using namespace std;typedef struct findtree{ int date; int v;//以v为根更有多少节点 struct findtree *left,*right,*pre; struct findtree() { v=1; left=right=NULL; }}find... 阅读全文
posted @ 2011-11-17 14:35 mtry 阅读(383) 评论(0) 推荐(0)