#P9204. Counting Good Arrays

Counting Good Arrays

Source: Super League of Chinese College Students Algorithm Design 2022, Contest 7 by UESTC.