Codeforces Round #269 (Div. 2) D(KMP)
题目链接:http://codeforces.com/group/1EzrFFyOc0/contest/471/problem/D
题目思路:这题主要就是两张图的匹配吧(可重叠),因为墙上下可以移动,其实就是匹配轮廓了,完全可以用KMP,KMP第一题纪念一下,果然还是菜啊。
至于KMP感觉这篇博文不错:http://blog.csdn.net/starstar1992/article/deta...
原创
2018-01-30 22:32:25 ·
165 阅读 ·
0 评论