481 - What Goes Up
摘要:
需要用到NlogN的LIS 1 #include <cstdio> 2 #include <iostream> 3 #include <cstring> 4 #include <vector> 5 #include <algorithm> 6 7 using namespace std; 8 9 int f[65535]; 10 int from[65535]; 11 vector<int> row; 12 int flag1,flag2; 13 int temp[65535]; 14 int ans = 0; 15 ve 阅读全文
posted @ 2011-08-02 19:39 cherryunix 阅读(197) 评论(0) 推荐(0)
浙公网安备 33010602011771号