摘要:
http://poj.org/problem?id=3371 1 #include 2 #include 3 #include 4 #include 5 #define maxn 2000 6 using namespace std; 7 char s[maxn]; 8 int word=0,sen=0,syll=0; 9 bool check(char ch)10 {11 if(ch=='a'||ch=='e'||ch=='i'||ch=='o'||ch=='u'||ch=='y')12 retu 阅读全文
posted @ 2014-01-18 20:28
null1019
阅读(192)
评论(0)
推荐(0)
摘要:
http://poj.org/problem?id=3020 1 #include 2 #include 3 #include 4 #define maxn 1000 5 using namespace std; 6 int t,n,m; 7 char g[maxn][maxn]; 8 int map1[maxn][maxn]; 9 int gg[maxn][maxn];10 bool vis[maxn];11 int match[maxn];12 int dir[4][2]={{0,-1},{0,1},{1,0},{-1,0}};13 int res,num;14 int dfs(int p 阅读全文
posted @ 2014-01-18 13:39
null1019
阅读(212)
评论(0)
推荐(0)
摘要:
http://poj.org/problem?id=1573 1 #include 2 #include 3 #include 4 #define maxn 500 5 using namespace std; 6 char g[maxn][maxn]; 7 int r,l,st; 8 int vis[maxn][maxn]; 9 int main()10 {11 while(scanf("%d%d%d",&r,&l,&st)!=EOF)12 {13 if(r==0&&l==0&&st==0) break;14 for 阅读全文
posted @ 2014-01-18 08:34
null1019
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号