#P95. Answer Submitting Test 1: Three in a row [NOIP Junior 1998]

Answer Submitting Test 1: Three in a row [NOIP Junior 1998]

Person in charge

Problem Description

Divide the numbers 11 through 99 into 33 groups, each forming a 3-digit number, such that these three numbers maintain a 1:2:31:2:3 ratio. Find all possible combinations of such 3-digit numbers.

Answer Format

This is an output-only problem.

Submit a text file named streak.txt.

The file should contain multiple lines, each with 33 numbers sorted in ascending order by the first number in each line.

192 384 576
*** *** ***
... ... ...