Problem Description
Everybody knows the number is saved with the binary string in the computer. Now, their have N (1 <= N <= 1000) binary strings I tell you, your task is tell me what is the most binary substring with K (1 <= K <= L) characters in the strings I give you. The length of each string is L (1 <= L <= 60). Output times of the most appearing binary substring.
Input
Each line will contain three numbers N, L, K.
Following N lines, represent N binary strings.
Output
One answer one line.
Sample Input
2 6 3
101011
110101
2 6 4
101011
110101
Sample Output
4
2
二分查找的基本思想是将所要査找的序列的中间位置的数据与所要査找的元素进行比较,如果相等,则表示査找成功,否则将以该位置为基准将所要査找的序列分为左右两部分。
接下来根据所要査找序列的升降序规律及中间元素与所查找元素的大小关系,
https://blog.csdn.net/weixin_30243533/article/details/95491645