2016年3月2日
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<algorithm> 4 #define M 10005 5 using namespace std; 6 struct data 7 { 8 int u,v,w; 9 }a[M]; 10 int 阅读全文
posted @ 2016-03-02 22:27 xiyuedong 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #define M 1000000007 4 using namespace std; 5 int f[16][16][16][16][16][6],ma[16][16][16][16][16][6],a[6],k; 阅读全文
posted @ 2016-03-02 22:25 xiyuedong 阅读(143) 评论(0) 推荐(0) 编辑
  2016年3月1日
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #define M 10000 5 #define inf 2139062143 6 using namespace std; 7 int cnt=1,n,m,T,d[M],q 阅读全文
posted @ 2016-03-01 22:50 xiyuedong 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<algorithm> 4 #define M 50008 5 using namespace std; 6 struct shu 7 { 8 int l,r,ma; 9 }shu[4*M]; 10 阅读全文
posted @ 2016-03-01 22:46 xiyuedong 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #define T 1001 4 #define M 10005 5 #define inf 0x7fffffff 6 #include<cstring> 7 using namespace std; 8 int c 阅读全文
posted @ 2016-03-01 22:42 xiyuedong 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 using namespace std; 6 int T,n,map[202][202],dui[202],y[202]; 7 bool 阅读全文
posted @ 2016-03-01 22:38 xiyuedong 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 using namespace std; 4 struct data 5 { 6 int a[4][4],bu; 7 }q[100000]; 8 int h=0,t=1,f[1000000],b[4][4]; 9 c 阅读全文
posted @ 2016-03-01 22:35 xiyuedong 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #define M 50008 4 using namespace std; 5 int du[M],ti,ti1,cnt,head[M],head1[M],next1[10*M],u1[10*M],next[10* 阅读全文
posted @ 2016-03-01 22:34 xiyuedong 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1 program ddk; 2 type ty=record 3 x,y,z:longint; 4 end; 5 var a:array[1..500]of longint; 6 b:array[0..5000]of ty; 7 n,i,j,m,max,max1,min,min1,a1,a2,s, 阅读全文
posted @ 2016-03-01 22:30 xiyuedong 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<cmath> 4 using namespace std; 5 int sum; 6 long long R; 7 bool pan(int a1,double a4) 8 { 9 int a2=f 阅读全文
posted @ 2016-03-01 22:26 xiyuedong 阅读(138) 评论(0) 推荐(0) 编辑