Nice Garland 一个三个字符连续的问题(思)
problem descriptionYou have a garland consisting of n lamps. Each lamp is colored red, green or blue. The color of the i-th lamp is si (‘R’, ‘G’ and ‘B’ — colors of lamps in the garland).You have to...