摘要: 题意:给定数组a[],求区间个数,满足区间的数各不同,而且满足maxval len define ll long long define rep(i,a,b) for(int i=a;i=a[dp[j+(1=R) return ; int k=lg[R L+1]; int Mid=(a[dp[L][ 阅读全文
posted @ 2019-08-21 22:11 Snow_in_winer 阅读(174) 评论(0) 推荐(0) 编辑
摘要: "Valentine's Day" "Welcome Party" "Block Breaker" C++ include using namespace std; const int maxn=2010; int a[maxn][maxn],n,m,q; bool check(int x,int 阅读全文
posted @ 2019-08-21 19:29 Snow_in_winer 阅读(149) 评论(0) 推荐(0) 编辑
摘要: "Telephone Lines" "最优贸易" 阅读全文
posted @ 2019-08-21 15:19 Snow_in_winer 阅读(105) 评论(0) 推荐(0) 编辑