4618: P1451 求细胞数量
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Description

Input

Output

Sample Input Copy
4 10
0234500067
1034560500
2045600671
0000000089
Sample Output Copy
4
HINT
