摘要:
#includeusing namespace std;#include#include#define maxn 200005int h,n,w;int root[maxn200000) h=200000; make_tree(1,h,1); while(n--) { int a; ans=-1; scanf("%d",&a); query(a,1,h,1); printf("%d\n",ans); } } retur... 阅读全文
posted @ 2013-07-26 08:21
邹济岳
阅读(142)
评论(0)
推荐(0)

浙公网安备 33010602011771号