String with As and Bs
Source: 2021 IMOC qualification problems, C1
December 30, 2021
IMOCcombinatorics
Problem Statement
There are s and s in a string, where is a positive integer, prove that you can find a substring in this string that contains s and s.