UVA 11019 Matrix Matcher (hash+kmp)
11019 Matrix Matcher
Given an N × M matrix, your task is to find the number of occurences of an X × Y pattern.
Input
The first line contains a single integer t (t ≤ 15), the number of test cases.Fo
原创
2017-08-08 21:47:22 ·
313 阅读 ·
0 评论