上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 45 下一页
摘要: #include<bits/stdc++.h>using namespace std;typedef long long LL;const int N = 1e6 + 7;int a[N];LL ans,all; void dfs(int x, LL y){ if(x>a[0]){ans+=all/ 阅读全文
posted @ 2017-07-20 18:43 wqtnb_tql_qwq_%%% 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;const int N=2;const int MOD=10000;struct MAT{int a[N][N];}; MAT operator*(MAT x, MAT y){ MAT z; for(int i=0 阅读全文
posted @ 2017-07-20 18:09 wqtnb_tql_qwq_%%% 阅读(185) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;#define N 100010#define M 2000010int root[N],R[M],L[M],s[M],m,x,y,n,k,a[N],cnt; void update(int &A,int &B,i 阅读全文
posted @ 2017-07-16 19:29 wqtnb_tql_qwq_%%% 阅读(314) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; struct node{char pa,data,lc,rc;}a[10001]; int vis[201],root=-1; int xianxu(int i){ printf("%c",i); if(a[i 阅读全文
posted @ 2017-07-09 13:39 wqtnb_tql_qwq_%%% 阅读(172) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int n,m,a[110][110],maxn; int min(int a,int b,int c){return min(a,min(b,c));} int main(){ scanf("%d%d",&n 阅读全文
posted @ 2017-07-06 19:22 wqtnb_tql_qwq_%%% 阅读(118) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; struct point{double x,y;}a[20]; int n; double all=1<<30 ; bool use[20]; void ( double x,double y,int sum, 阅读全文
posted @ 2017-07-06 11:15 wqtnb_tql_qwq_%%% 阅读(139) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;#define N 500010*2struct edge{int v,next;}e[N];struct qedge{int u,v,next,lca,num;}e1[N];int n,m,t,head[N],t 阅读全文
posted @ 2017-07-01 10:25 wqtnb_tql_qwq_%%% 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int f[1000010],n,m; char p[1000010],t[1000010]; void getfail(){ f[0]=f[1]=0; for(int i=1;i<m;i++){ int j= 阅读全文
posted @ 2017-07-01 07:26 wqtnb_tql_qwq_%%% 阅读(180) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int n,m,a[20010],sum; int ( a,cmpintint b){return a>b;} int main(){ cin>>n>>m; for(int i=0;i<n;i++)cin>>a 阅读全文
posted @ 2017-06-26 21:40 wqtnb_tql_qwq_%%% 阅读(184) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; #define INF 1<<29 int n,a[210][210]; void Floyd(){ for(int k=1;k<=n;k++) for(int i=1;i<=n;i++) for(int j= 阅读全文
posted @ 2017-06-26 21:32 wqtnb_tql_qwq_%%% 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 45 下一页