NWU_ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页

2017年4月20日

摘要: 1 //#include <bits/stdc++.h> 2 #include<iostream> 3 #include<stdio.h> 4 #include<string.h> 5 using namespace std; 6 char s[128]; 7 int dp[128][128]; 8 阅读全文
posted @ 2017-04-20 21:06 NWU_ACM 阅读(99) 评论(0) 推荐(0) 编辑

2017年4月19日

摘要: #include int main() { int n=0,m=0,i=0,j=0,k=0,l=0,x[205][205]={0},a=0,b=0,c=0,s=0,t=0,d[205]={0}; while(scanf("%d%d",&n,&m)!=EOF) { for(i=0;ic)) { x[a]... 阅读全文
posted @ 2017-04-19 21:29 NWU_ACM 阅读(97) 评论(0) 推荐(0) 编辑

2017年4月17日

摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 #define rep(i,a,b) for(int i = a;i <= b;++ i) 4 #define per(i,a,b) for(int i = a;i >= b;-- i) 5 #d 阅读全文
posted @ 2017-04-17 20:40 NWU_ACM 阅读(159) 评论(0) 推荐(0) 编辑

摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include<queue> 4 #include<cstring> 5 #include <algorithm> 6 using namespace std; 7 int G[501][501]; 8 boo 阅读全文
posted @ 2017-04-17 12:52 NWU_ACM 阅读(172) 评论(0) 推荐(0) 编辑

2017年4月15日

摘要: 1 #include <bits/stdc++.h> 2 #define _xx ios_base::sync_with_stdio(0);cin.tie(0); 3 using namespace std; 4 typedef long long ll; 5 struct node 6 { 7 i 阅读全文
posted @ 2017-04-15 17:28 NWU_ACM 阅读(218) 评论(0) 推荐(0) 编辑

2017年4月14日

摘要: #include using namespace std; int main() { double n; while (cin >> n) { while (n > 18) n /= 18; if (n <= 9) cout << "Stan wins." << endl; else cout << "Ollie wins." << endl... 阅读全文
posted @ 2017-04-14 23:18 NWU_ACM 阅读(95) 评论(0) 推荐(0) 编辑

2017年4月12日

摘要: #include #include int main() { __int64 a[21][21]; int i,j,m,n; memset(a,0,sizeof(a));//首先全部初始化为0 for(i=0;i<=20;i++) a[i][0]=1;//当n为0的时候无论吗取何值都是1 for(i=1;i<=20;i++) ... 阅读全文
posted @ 2017-04-12 14:21 NWU_ACM 阅读(111) 评论(0) 推荐(0) 编辑

2017年4月11日

摘要: 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 using namespace std; 5 const int maxn=1000+10; 6 const int maxm=1000+10; 7 8 struct Edg 阅读全文
posted @ 2017-04-11 22:49 NWU_ACM 阅读(86) 评论(0) 推荐(0) 编辑

2017年4月10日

摘要: 1 #include<stack> 2 #include<queue> 3 #include<cmath> 4 #include<vector> 5 #include<cstdio> 6 #include<cstring> 7 #include<windows.h> 8 #include<iostr 阅读全文
posted @ 2017-04-10 17:03 NWU_ACM 阅读(108) 评论(0) 推荐(0) 编辑

2017年4月9日

摘要: 1 #include <iostream> 2 #include <algorithm> 3 #include <cstring> 4 #include <cstdio> 5 #include <bitset> 6 #include <vector> 7 #include <queue> 8 #in 阅读全文
posted @ 2017-04-09 21:55 NWU_ACM 阅读(115) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 10 下一页