|
#6
THREE ORDERS
Three separate arrangements of five basketball players are made by ordering based on their heights, ages and shirt numbers. In each type of arrangement, the position of a player is never the same. How many distinct arrangements are there satisfying this condition?
Example: If there were 3 players, the answer would be 12:
1. Height: (A, B, C), Age: (B, C, A), Shirt: (C, A, B)
2. Height: (A, B, C), Age: (C, A, B), Shirt: (B, C, A)
3. Height: (A, C, B), Age: (B, A, C), Shirt: (C, B, A)
4. Height: (A, C, B), Age: (C, B, A), Shirt: (B, A, C)
5. Height: (B, A, C), Age: (A, C, B), Shirt: (C, B, A)
6. Height: (B, A, C), Age: (C, B, A), Shirt: (A, C, B)
7. Height: (B, C, A), Age: (A, B, C), Shirt: (C, A, B)
8. Height: (B, C, A), Age: (C, A, B), Shirt: (A, B, C)
9. Height: (C, A, B), Age: (A, B, C), Shirt: (B, C, A)
10. Height: (C, A, B), Age: (B, C, A), Shirt: (A, B, C)
11. Height: (C, B, A), Age: (A, C, B), Shirt: (B, A, C)
12. Height: (C,B,A), Age: (B,A,C), Shirt: (A,C,B)
对五名篮球运动员进行三种独立排序,分别是根据他们的身高,年龄和球衣号码。 在每种排序中,运动员位置总是不同的。 有多少不同的排序满足这个条件?
例子:如果有3名运动员,答案是12:
1.身高:(A,B,C),年龄:(B,C,A),球衣:(C,A,B)
2.身高:(A,B,C),年龄:(C,A,B),球衣:(B,C,A)
3.身高:(A,C,B),年龄:(B,A,C),球衣:(C,B,A)
4.身高:(A,C,B),年龄:(C,B,A),球衣:(B,A,C)
5.身高:(B,A,C),年龄:(A,C,B),球衣:(C,B,A)
6.身高:(B,A,C),年龄:(C,B,A),球衣:(A,C,B)
7.身高:(B,C,A),年龄:(A,B,C),球衣:(C,A,B)
8.身高:(B,C,A),年龄:(C,A,B),球衣:(A,B,C)
9.身高:(C,A,B),年龄:(A,B,C),球衣:(B,C,A)
10.身高:(C,A,B),年龄:(B,C,A),球衣:(A,B,C)
11.身高:(C,B,A),年龄:(A,C,B),球衣:(B,A,C)
12.身高:(C,B,A),年龄:(B,A,C),球衣:(A,C,B)
这个题也太容易了,SQL搞定。 |
|