继续问下prep2中的两道DS题,拜托NN们帮忙指点下啊 if y is an integer and y=/x/+x,is y=0? (/x/是x的绝对值) 1. x<0 2. y<1 答案是D 我觉得是A 这题没有思路,始终觉得条件2没有办法得出结论 SET S consists of five consecutive integers, and set T consistsof even consecutive integers, Is the median of the number in set S equal to the median of the median of the numbers in set T? 1.the median of the number in set is 0 2. the sum of the numbers in set S is equal to the sum of the numbers in set T. 答案是C 我认为是B 思路是这样的,分别设S、T数列的中数为X、Y 那么S的总和是5X ;T的总和是5Y 因为前后的数字大小相差刚好都抵消了 这样不就得出median相等了吗 条件1有什么用呢 |