CF1003B Binary String Constructing

题目描述

给你 $3$ 个整数 $a$ ,$b$ ,$x$ ,让你求出一个包含了 $a$ 个 $0$,$b$ 个 $1$ 的二进制串 $s$。要求其中 $s_i\not =s_{i+1}$ 的对数正好等于 $x$。

输入格式

一行 $3$ 个整数 $a$ ,$b$ ,$x$。

输出格式

一行一个字符串 $s$ ,表示**任意**一符合要求的答案。 ### 输入输出样例 无。 感谢 @win10 提供的翻译。

说明/提示

All possible answers for the first example: - 1100; - 0011. All possible answers for the second example: - 110100; - 101100; - 110010; - 100110; - 011001; - 001101; - 010011; - 001011.