- 博客(4)
- 收藏
- 关注
原创 Luogu P2333 [SCOI2006]一孔之见 计算几何
#include <cstdio>#include <cmath>#include <algorithm>#define eps 1e-5#define INF 1e20using namespace std;const double pi=acos(-1.0);inline double sq(double x) { return x*x; }struct Point {
2017-07-13 19:21:30 800
原创 BZOJ 2330 [SCOI2011]糖果 差分约束系统
#include <cstdio>#include <cstring>#include <queue>#define N 100005using namespace std;struct Edge { int from,to,nxt,val; Edge() {} Edge(int _from,int _to,int _nxt,int _val): f
2017-07-10 14:45:37 543 1
原创 BZOJ 3295 动态逆序对 CDQ分治
#include <cstdio>#include <algorithm>#define N 100005#define INF (1<<30)using namespace std;typedef long long LL;inline int lowbit(int x) { return x & -x; }struct Data { int x,y,t; bool
2017-07-04 19:22:18 461
原创 BZOJ 2725 [Violet 6]故乡的梦 最短路
include include include include define N 200005define INF (1llusing namespace std; typedef long long LL; namespace Segment_Tree { struct Node { Node* ch[2];
2017-07-03 07:29:58 634
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人