## Red-Black Number solution codeforces

Red-Black Number solution codeforces It is given a non-negative integer $$$x$$$, the decimal representation of which contains $$$n$$$ digits. You need to color each its digit in red or black, so that the number formed by the red digits is divisible by Continue reading Red-Black Number solution codeforces