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.
PREP提供的答案是C,个人认为是E。举个反例:1 ,-2 ,3 ,4和 1, 2, 3, 4.这两组数都能满足1)和2),但是结果却不同了。
NN帮我看看是我错了还是PREP错了。
LZ再想想看:在你举的第一个反例中最小数字和最大的数字是多少?应该是-2,1,3,4. -2*4无法满足第一个条件。
我觉得根据LZ的描述应该选E
EG:-1,-2 -3 或者-1 -2 -3 -4 这两个例子都符合(1)(2)但是结果不同
楼上的意见是什么?
我觉得根据LZ的描述应该选E
EG:-1,-2 -3 或者-1 -2 -3 -4 这两个例子都符合(1)(2)但是结果不同
楼上的意见是什么?
LS的第一个例子不符合条件2:偶数个数字。
一经masonyxm大哥提醒就醒悟了,对,是我自己一时看错了。
谢谢!
欢迎光临 ChaseDream (https://forum.chasedream.com/) | Powered by Discuz! X3.3 |