The first line is an integer
, which represents the number of condition groups
Followed by several lines, each line has two strings and an integer, representing,
and
![]()
respectively.
sum of the string length is less than,single string length is less than
An integer indicating the number of groups successfully matched
10 32286513581 51358322861 5 32286513581 28651323581 5 32286513581 13581322865 5 32286513581 86513322581 5 32286513581 65135322881 5 32286513581 35813228651 5 32286513581 35813228651 5 32286513581 22863513581 5 32286513581 51353228681 5 32286513581 86513223581 5
The first 5 groups are matched successfully, while the last 5 groups fail
(the last 5 groups correspond to 4 consecutive characters, so they do not meet the meaning of the question)