Upper bound and lower bound problem


could you check the code
it says tiimelimit

@yyashu123 you have not initialized your mid before checking, initialize it with mid=(e+s)/2 for both functions.