摘要:
根据姥姥提示,入栈顺序就是先序遍历,出栈顺序就是中序遍历。然后在用solve函数进行递归分治来求出后序遍历的结果。#include #include #include #include #include #include #include #include #include#incl... 阅读全文
摘要:
A Find the Spy/* ***********************************************Author :xryzEmail :523689985@qq.comCreated Time :2015/4/12 13:... 阅读全文
摘要:
#include#include#include#include#include#includeusing namespace std;const int N=100000+5;int bin[N],ans[N];mapm;int Find(int x){ while(bin[... 阅读全文