hdu 1181 变形课
摘要:
#include<stdio.h>#include<string.h>#include<stdlib.h>int map[27][27],visit[26];//const int inf=0x7fffffff;int main( ){ char ch[30]; int i,j,k,len; memset(visit,0,sizeof(visit)); for(i=0;i<27;i++) for(j=0;j<27;j++) map[i][j]=0; while(scanf("%s",ch)!=EOF) { while(ch[0 阅读全文
posted @ 2011-04-15 12:55 more think, more gains 阅读(255) 评论(0) 推荐(0) 编辑