Test case not passing

my code is working fine for manual input…put it is not passing test cases while submitting
please check what is the error in my code

there are some error s like the start need to be the greatest element of the array u cannot sort the i/p array
just use the time paramter at the end for calulcating the answer
use mod when multiplying the answer got after bsearch * t

refer to below code

please help? by providing what is my mistake and how to resolve it

did u go through the code i have pointed out the points where ur code lag in the previous reply

please make updates told in last reply even then if the code doesnt work share the updated lin k

your code is not working you have not taken time t and passed in function call without taking input

sorry passed on the wrong link

please pass the right link then

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.