数组元素 a[0]~a[n-1]已按升序排列,现要将 a[pos](0≤pos≤n-1)的值加 1,并保持数 组的有序性不变,实现该功能的程序段如下,方框中应填入的正确代码为
i<n-1
i<n-1 and t> a[i+1]
i <n-1 and a[i]> a[i+1]
i <n-1 or t> a[i]