can you please check my logic and tell what is wrong with my code
Getting wrong output
a) use long long in place of int to avoid overflow
b) array is not sorted so search space should be
start=max in array * t (max u need to find out )
end=summation * t
c)

here it should be >