NYOJ 题目5 字符串匹配
摘要:
Binary String Matching时间限制:3000ms | 内存限制:65535KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For example, the text string B is ‘1001110110’ while the pattern string A is ‘11’, you should output 3 阅读全文
posted @ 2012-05-09 23:21 thoupin 阅读(252) 评论(0) 推荐(0) 编辑