Re: [計量] CAT TEST 7
※ 引述《seablue (seablue)》之銘言:
: 又要來麻煩版上高手了Orz
: CAT TEST 7, No.19
: What is the total number of different 5-digit numbers
: that contain all of the digits 2,3,4,7, and 9, and in
: which none of the odd digits occur next to each other?
: (A) 120
: (B) 24
: (C) 12
: (D) 10
: (E) 8
: 答案是 (C) 12
由 2, 3, 4, 7, 9構成,而且奇數不相鄰的五位數總共有幾個?奇數不相鄰只有
一種可能,就是出現在萬位、百位、個位,而偶數就只能在千位、十位,如以下
形式
奇 偶 奇 偶 奇
所以算法就是奇數先排列,然後偶數再排列,然後安插進去奇數間的空格。
3!*2! = 12
: 可是我完全搞不懂為什麼.....
: 麻煩請高手幫忙了,謝謝。
--
○ ____ _ _ _ _ ____ _ _ ____ _____ ____
。 ★(_ _)( \( )( \/ )( ___)( \( )(_ _)( _ )( _ \
o _)(_ ) ( \ / )__) ) ( )( )(_)( ) / ● ‧
(____)(_)\_) \/ (____)(_)\_) (__) (_____)(_)\_) ★
o
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.225.67.61
推
12/11 15:07, , 1F
12/11 15:07, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
GRE 近期熱門文章
PTT職涯區 即時熱門文章