ChaseDream

标题: 求助Prep中一道负数奇偶性问题 [打印本页]

作者: zcr0603    时间: 2011-4-4 22:56
标题: 求助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不满足


这题啥思路啊,偶数可以是负的吗?
作者: 甜你一口    时间: 2011-4-4 22:59
第一个条件可以知道这个集合里所有的数同正负,但不知道有几个数,如果是奇数个就是负数,偶数个就是正数不充分
第二个条件说有偶数个数在集合里,不充分
1+2充分
作者: 甜你一口    时间: 2011-4-4 23:00
题目的思路是这个集合里负数的个数是奇数个还是偶数个,是奇数个就小于零,偶数个就大于零
作者: zcr0603    时间: 2011-4-4 23:08
哦哦哦,看错题了。。。谢谢啊




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