题目中的 LATEX 炸了?
修正:
说明/提示
In the first test case you can perform the following operations:
WBWWWB→WWWWWB→WWWWWW
In the second test case you can perform the following operations:
WWBWBWW→WWWWWWW
In the third test case you can perform the following operations:
BWBWB→BWWWW→WWWWW