#P1008. [NOIP 1998 普及组] 三连击
[NOIP 1998 普及组] 三连击
Description
Partition the numbers into groups to form three-digit numbers, such that these three-digit numbers are in the ratio . Find all triplets of three-digit numbers that satisfy this condition.
Input Format
None.
Output Format
Several lines, each containing 3 numbers. Sort the lines in ascending order by the first number in each line.
无
192 384 576
* * *
...
* * *
(剩余部分不予展示)
Hint
NOIP 1998 Junior Problem 1.
Translated by ChatGPT 5
京公网安备 11011102002149号