ChaseDream

标题: 一道GWD数学,请朋友们帮们,谢谢。 [打印本页]

作者: kobesoros    时间: 2010-10-21 23:58
标题: 一道GWD数学,请朋友们帮们,谢谢。
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?
作者: LJWISC1OL    时间: 2010-10-22 00:51
百位可行数目 8个  (没有0,1)
十位可行数目 2个 (0,1)
                      十位用1时,个位可以用10个
                      十位用0时,个位可以用9个(没有0)
所以8*10+8*9=152
作者: kobesoros    时间: 2010-10-22 03:49
非常感谢你!
作者: kobesoros    时间: 2010-10-22 03:52
标题: 等等
我还是看不懂。。。。。
作者: owen870930    时间: 2010-10-22 04:21
一个三位数用0~9组成,第一位不能是0或1,第二位数是0或1,第二位数和第三位数不能同时是0
1.第一位是2~9,   8个数
2.第二位是0和1,   2个数
3.第三位数当第二位是0时有9个数
         当第二位是1时有10个数
得出的式子和一楼一样所以。8*10+8*9=152
另外你也可以理解为 8*2*10-8*1*1(当第二位数和第三位数=0时,200,300~800,900共8个数)=152
作者: kobesoros    时间: 2010-10-22 16:13
"另外你也可以理解为 8*2*10-8*1*1(当第二位数和第三位数=0时,200,300~800,900共8个数)=152 "

这句话让我懂了。谢谢你!
作者: 小行星-    时间: 2017-8-31 09:46
那么这道题情境就是默认每个数字可以重复用吧
作者: 鱼丸要考700    时间: 2017-10-5 12:16
小行星- 发表于 2017-8-31 09:46
那么这道题情境就是默认每个数字可以重复用吧

对的




欢迎光临 ChaseDream (https://forum.chasedream.com/) Powered by Discuz! X3.3