Write a C language that requires 1, 2, 3, and 4 numbers. How many three-digit numbers that are different from each other and have no repeated numbers can be formed? How much are they? ...

The answer is: there are 24 three-digit numbers composed of four numbers 1, 2, 3, and 4 that are not repeated and have no repeated numbers, which are: 123, 124, 132, 134, 142, 143, 213, 214, 231 , 234, 241, 243, 312, 314, 321, 324, 341, 342, 412, 413, 421, 423, 431, and 432.

Guess you like

Origin blog.csdn.net/weixin_42609225/article/details/129574517