For a finite sequence of nonzero numbers, the number of variations in sign is defined as the number of pairs of consecutive terms of the sequence for which the product of the two consecutive terms is negative. What is the number of variations in sign for the sequence 1, -3, 2, 5, -4, -6 ?
刚才prep刚做。。。说实话,今天晕,题目看了好半天 the number of variations in sign is defined as the number of pairs of consecutive terms of the sequence for which the product of the two consecutive terms is negative. 定义 the number of variations in sign为一个数,什么的数呢,一个连续数列中每连续两项乘积为负的对数(不是log那个对数。。= =) 比如1, -3, 2, 5, -4, -6 里面有1 -3;-3 2;5 -4 题意啊。。。唉