A three-digit code for certain logs uses the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 according to the following constraints. The first digit cannot be 0 or 1, the second digit must be 0 or 1, and the second and third digits cannot both be 0 in the same code. How many different codes are possible?
A. 144
B. 152
C. 160
D. 168
E. 176
=========================
答案B
我怎麼老算成144種組合, 金害! 非常不擅長排列組合, 請幫我瞧瞧哪裡出錯了
第一個code 8種, 從2~9挑
第二個code 2種, 0 or 1
第三個code 9種, 從0或1剩下的挑, 不管怎樣都9種
8 * 2 * 9= 144
哀傷 T_T