ChaseDream

标题: prep ds196 [打印本页]

作者: cindytim    时间: 2010-3-21 12:35
标题: prep ds196
How many odd integers are greater than the integer x and less than the integer y ?



(1)There are 12 even integers greater than x and less than y.



(2)There are 24 integers greater than x and less than y.

--------------------------------------------------------------------------------------------------------------------------------------------------------【答案】B

【思路】

(1) 不知道有幾個數是介於x,y. 有可能奇數比偶數多1或少1

(2) 有一半是奇數

题目没有说是连续的, 怎么 得出一半奇数,一般偶数

作者: 切尔西    时间: 2010-3-21 13:54
比较两个数间的数,比一个大,比另外一个小,没有办法做到不连续的哈,就好比比10大,比20小的数,不可能把5或者22插进去撒




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