Test cases for Forest gathering

plz can u find the test cases where my code fails
Code logic: calculated the time for each tree to grow enough and sorted.
Then, at each of these times(time1 , time2 ,…), I calculated the wood at time(i) and compared with W.
If wood I have at time(i) is more than wood required, then the answer will be in this range
( time(i-1), time(i) ]

problem link https://www.codechef.com/problems/FORESTGA
my submission https://www.codechef.com/viewsolution/25007989