Lucky numbers
题号:NC214663
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

    The sum of the three three-digit numbers is 999 and each of their digits is not repeated,
and cannot have 0, then these three numbers are called: a group of lucky numbers.

输入描述:

no input

输出描述:

Output the lucky numbers of all groups, the three numbers in each group are sorted from small to large, and between groups are sorted by the first number from small to large. If the first number is the same, the second number is sorted from small to large.If the second number is also the same, sorted by the third number from small to large

备注:

Output:
125 376 498
125 378 496
... ... ...
... ... ...