- 博客(5)
- 收藏
- 关注
原创 hdu-3926 Hand in Hand 并查集
题目链接#include #include #include #include #include #include #include using namespace std;typedef __int64 LL;const int maxn = 10005;const int Mod = 1000000007;int n1,m1,n2,m2;int p1[max
2014-08-16 23:32:08 513
原创 hdu-4946 Area of Mushroom 凸包
题目链接#include #include #include #include #include #include #include using namespace std;typedef __int64 LL;const int maxn = 1005;const int Mod = 1000000007;int n,N;int ans[maxn];int
2014-08-14 17:40:57 494
原创 poj-3368 Frequent values 线段树
题目链接#include "stdio.h"#include "math.h"#include "string.h"#include "algorithm"using namespace std;const int maxn = 100005;int n,m,x,y,ans;int num[maxn];struct node{ int mmax,lmax,rmax;
2014-08-10 21:25:29 372
原创 Poj 3928 Ping pong 树状数组
题目链接#include #include #include #include #include using namespace std;typedef long long LL;const int maxn = 100005;const int Mod = 1000000007;int n;int c[maxn<<2];struct Node{ int id
2014-08-02 19:03:22 386
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人