#2610. C++-GESP 2023-09认证二级-编程题02(数字黑洞)(拓展02-输入的三位数并拆分...从小到大输出)[sort]

C++-GESP 2023-09认证二级-编程题02(数字黑洞)(拓展02-输入的三位数并拆分...从小到大输出)[sort]

Background

Description

输入的三位数并拆分百位、十位和个位,并从小到大输出(sort)

image

Format

Input

Output

Samples

672
2
6
7
992
2
9
9
295
2
5
9

Limitation

1s, 1024KiB for each test case.