-->
当前位置:首页 > 题库

PROGRAMMING:Three digits that meet the condition

Luz5年前 (2021-05-10)题库466
There are 1, 2, 3 and 4 numbers. How many three digit numbers are there that are different from each other and without repetition? How much is it?
###Input format:
Enter 1, 2, 3, 4, separated by a space.
###Output format:
According to the order from small to large output meet the conditions of three digits. After outputting each number, you need to enter and wrap.
###Input example:
Here is a set of inputs. For example:
```in
1 2 3 4
```
###Output example:
The corresponding output is given here. For example:
```out
one thousand two hundred and thirty-four
one thousand two hundred and forty-three
one thousand three hundred and twenty-four
one thousand three hundred and forty-two
one thousand four hundred and twenty-three
one thousand four hundred and thirty-two
two thousand one hundred and thirty-four
two thousand one hundred and forty-three
two thousand three hundred and fourteen
two thousand three hundred and forty-one
two thousand four hundred and thirteen
two thousand four hundred and thirty-one
three thousand one hundred and twenty-four
three thousand one hundred and forty-two
three thousand two hundred and fourteen
three thousand two hundred and forty-one
three thousand four hundred and twelve
three thousand four hundred and twenty-one
four thousand one hundred and twenty-three
four thousand one hundred and thirty-two
four thousand two hundred and thirteen
four thousand two hundred and thirty-one
four thousand three hundred and twelve
four thousand three hundred and twenty-one
```







answer:If there is no answer, please comment