#T385. 三连击
三连击
Description
Divide the numbers 1, 2, ..., 9 into 3 groups, each forming a 3-digit number, such that these 3 numbers are in a 1 : 2 : 3 ratio. Find all possible sets of 3 numbers that satisfy this condition.
Input Format
None
Output Format
Several lines, each containing 3 numbers. The lines should be sorted in ascending order based on the first number of each line.
无
直接输出答案
Hint
This problem is a submit-answer question. You can write a program or manually calculate the answer on your local machine, then directly submit the answer text. Alternatively, you can submit a program that generates the answer.
Source
NOIP1998-Junior Division