CF1659A Red Versus Blue
题目描述
红队和蓝队进行了一场比赛,这场比赛分为了 $n$ 个阶段。
已知比赛中红队获胜的阶段数 $r$ 以及蓝队获胜的阶段数 $b$,由于蓝队实力不如红队,满足 $b
输入格式
第一行一个正整数 $t$ 表示数据组数($1\le t\le 1000$),接下来依次输入每组数据:
输出格式
每组数据输出一个字符串满足题目条件。
### 样例解释
第一组样例的第一组数据中,为 $RBRBRBR$ 时,一个队伍连续赢的阶段数最大为 1,显然没有更小解。
第二组样例的第二组数据中,为 $\underline{RR}BRBRBRBR
$ 时,一个队伍连续赢的阶段数最大为 2,没有更小解。
说明/提示
The first test case of the first example gives the optimal answer for the example in the statement. The maximum number of times a team wins in a row in RBRBRBR is $ 1 $ . We cannot minimize it any further.
The answer for the second test case of the second example is RRBRBRBRBR. The maximum number of times a team wins in a row is $ 2 $ , given by RR at the beginning. We cannot minimize the answer any further.