hdu 1711 Number Sequence KMP模板题~~~

The first line of input is a number T which indicate the number of cases. Each case contains three lines. The first line is two numbers N and M (1 <= M <= 10000, 1 <= N <= 1000000). The second line contains N integers which indicate a[1], a[2], …… , a[N]. The third line contains M integers which indicate b[1], b[2], …… , b[M]. All integers are in the range of [-1000000, 1000000].

,爱情纯属天性,不用思考。你不能为爱而爱,

hdu 1711 Number Sequence KMP模板题~~~

相关文章:

你感兴趣的文章:

标签云: