hdu acm 1051 Zipper
摘要:
dfs 有点麻烦,不过也不是很难 1 #include 2 #include 3 #include 4 char str1[205],str2[205],str3[405]; 5 int flag; 6 int len1,len2,len3; 7 int hash[205][205]; 8 void dfs(int a,int b,int c) 9 {10 if(flag)11 return;12 if(c==len3)13 {14 flag=1;15 return;16 }17 if(hash[a][b])18 ... 阅读全文
posted @ 2014-03-31 20:48 恒邪 阅读(205) 评论(0) 推荐(0) 编辑