Test cases not passed why

while binary searching you should start from roses + i + 1 instead of roses + i, and moreover you are printing the answer wrong there needs to be full stop after printing the value of second rose.
Corrected Code