#T409. 符合条件的数
符合条件的数
Description
From the keyboard, input three positive integers (all less than 10). Using these three numbers as divisors, output the smallest ten numbers that leave a remainder of 1 when divided by each of them.
Input Format
Three positive integers.
Output Format
Ten integers that satisfy the condition, separated by a single space between them. There should be no extra spaces at the end of the line.
2 3 5
1 31 61 91 121 151 181 211 241 271
Source
CodesOnline