太傻超级论坛's Archiver

20090222 发表于 2009-5-5 17:43

麻烦NN给看看,陈向东数学:DS-CXD-P240-43

DS-CXD-P240-43
Jerome wrote each of the integers 1 through 20, inclusive, on a separate index card. He placed the cards in a box, then drew cards one at a time randomly from the box, without returning the cards he had already drawn to the box. In order to ensure that the sum of all the cards he drew was even, how many cards did Jerome have to draw?

Answer :  12

这道题实在不知怎么想,希望大家帮忙指点一下。谢谢!

rabbitzzy 发表于 2009-5-5 18:09

就是Jerome在做游戏时,考虑了最倒霉的情况:先抽了一个odd,然后抽了10个even。这就是最倒霉的情况,因为在此过程中,一个odd和任意多的even相加都是odd
接下来怎么抽都是一个odd,总数肯定是even

[[i] 本帖最后由 rabbitzzy 于 2009-5-5 18:11 编辑 [/i]]

20090222 发表于 2009-5-5 19:45

那他要是抽了5个odd,7个even,咋办?总数也是12个,可是odd呀。不懂 ::21

rabbitzzy 发表于 2009-5-5 23:32

满足要求就停手了吧,好像题目没表达清楚,要不然就是我理解错了。。。

kkiam 发表于 2009-11-7 16:52

奇数+奇数=偶数
偶数+偶数=偶数
奇数+偶数=奇数
原文要确保是奇数,那么最坏的情况,就是
抽了一个奇数,然后后面10个全是偶数(和为偶数),那么和还是奇数+偶数=奇数
要再抽一个奇数,就能确保是偶数
1+10+1=12

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.