2022 Open Bronze #1

For this problem USACO , why does the editorial (Contest Results) says .BBA.AA ?

Shouldn’t it be .AAB.BB , since A =GH, and the original inputted string is GGGHGHHGHHHGHG?

1 Like

Yeah, there’s a mistake. The definitions of A and B should be swapped. Let me know if it makes sense now.