摘要: Exclusive-OR UVALive - 4487 带权并查集,回去再写 Exclusive-OR UVALive - 4487 Exclusive-OR 带权并查集,回去再写 1 #include <bits/stdc++.h> 2 using namespace std; 3 #define 阅读全文
posted @ 2017-07-31 17:37 yijiull 阅读(149) 评论(0) 推荐(0) 编辑
摘要: "Ray, Pass me the dishes!" UVALive - 3938 题意:查询区间[x,y]之间的最大连续和的区间[a,b],输出a和b。 出了点差错,,晚上回去再做 1 #include <bits/stdc++.h> 2 using namespace std; 3 #defin 阅读全文
posted @ 2017-07-31 14:33 yijiull 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Frequent values UVA - 11235 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 #define CLR(m,a) memset(m,a,sizeof(m)) 5 6 const int maxn=100010; 7 阅读全文
posted @ 2017-07-31 13:34 yijiull 阅读(351) 评论(0) 推荐(0) 编辑