#P1674. Rainbow Numbers

Rainbow Numbers

题目描述

Click here to read PDF of this problem

输入格式

As shown in the PDF.

输出格式

As shown in the PDF

样例

提示

by QLU_orange