A number is called 8-substring-friendly if every one of its digits belongs to a 8-substring. For example, 352114 is 8-substring-friendly, but 26(5)44 is not. For a given n, find T(n) the number of ...
You are given a string SS of length NN containing only characters a and b. A substring (contiguous fragment) of SS is called a semi-alternating substring if it does not contain three identical ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana