返回列表 发帖

求助Prep中一道负数奇偶性问题

DS题A certain list consists of several different integers. Is the product of all the integers in the list positive?1. The product of the greatest and smallest of the integers in the list is positive
2. There is an even number of integers in the list

答案是both满足,neither不满足

这题啥思路啊,偶数可以是负的吗?
收藏 分享

哦哦哦,看错题了。。。谢谢啊

TOP

题目的思路是这个集合里负数的个数是奇数个还是偶数个,是奇数个就小于零,偶数个就大于零.

TOP

第一个条件可以知道这个集合里所有的数同正负,但不知道有几个数,如果是奇数个就是负数,偶数个就是正数不充分
第二个条件说有偶数个数在集合里,不充分
1+2充分

TOP

回复 2# suners


    感谢感谢

TOP

偶数可以是负数啊。
一组数中,有几个不同的整数。所有这些整数的乘积是大于0的吗??
1. 最大的数和最小的数乘积是大于0的。
2. 一共有偶数个。

单独看1-- 只知道最大x最小乘积是大于0的。那么有可能大家都大于0,也有可能大家都小于0。但是又多少个数呢?? 不充分。
单独看2--一共有偶数个。有多少大于0的,多少小于0的呢??不充分。

1+2,由于要么大家都大于0,要么大家都小于0。既然是偶数个数,那么乘积就大于0。充分。

我的数学不是满分。请大家拍砖。

TOP

返回列表

站长推荐 关闭


美国top10 MBA VIP申请服务

自2003年开始提供 MBA 申请服务以来,保持着90% 以上的成功率,其中Top10 MBA服务成功率更是高达95%


查看