摘要: #include<iostream> using namespace std; int count = 0, n = 0; //判断该ch[x][y]是否可以放置 bool isOk(char **ch, int x, int y){ int i; //向上检索 for (i = x - 1; i 阅读全文
posted @ 2017-01-15 21:55 王坤1993 阅读(108) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <cstring> #include <queue> using namespace std; const int maxn=55; int n,m,t,x1,y1,x2,y2; struct node { int x,y; int zb; in 阅读全文
posted @ 2017-01-15 21:54 王坤1993 阅读(269) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<cstdio>#include<cstring>#include<algorithm>#include<queue>#include<vector>#include<cmath>#include<map>#include<string>#defi 阅读全文
posted @ 2017-01-15 21:31 王坤1993 阅读(241) 评论(0) 推荐(0) 编辑
摘要: #include"stdio.h" #include"stdlib.h" #include"string.h" #define N 10000 int a[N]; int main() { int i,j,n,len; while(scanf("%d",&n)!=-1) { memset(a,0,s 阅读全文
posted @ 2017-01-15 21:25 王坤1993 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> using namespace std; const int SIZE = 1001; const int BASE = 10; string result[SIZE]; string two("2"); void init 阅读全文
posted @ 2017-01-15 21:22 王坤1993 阅读(287) 评论(0) 推荐(0) 编辑