|
Hi,
What should the output be for an array where the last element is the same as the value t in question. Should this report B=0 since there is no place in the array where the values switch from less than or equal to greater than? Or should it just report the last index as the value of B? Sorry this question is so late, but I think I've figured out how to modify my program according to whatever answer I get here, so hopefully I shouldn't have too much trouble. Thanks. Mamun
|
The problem statement determines B in all cases by Mike O'Donnell, 2001, Oct 22
Everything less than B by Mamun Tanveer, 2001, Oct 22
Yes, when X[N]<=T, B=N by Mike O'Donnell, 2001, Oct 22
to: