PKU POJ 3903 Stock Exchange 最长递增子序列
摘要:
必须要nlogn算法才能过View Code #include <iostream>#include <string.h>#include <stdlib.h>#include <algorithm>using namespace std;int L,a[100005];int list[100005],numoflist;int bsearch(int value){ int l=0,r=numoflist-1,mid; while (l<r) { mid=(l+r)>>1; if (list[mid]>=value) 阅读全文
posted @ 2013-03-28 18:55 Deller 阅读(144) 评论(0) 推荐(0)
浙公网安备 33010602011771号