Sir, where am i doing mistake. please help me to find out my error
check now->
sir, ham ( a>=median ) use q kr rhe hai? ( a<=median ) use q nhi kr skte?
and i’m also grtting the TLE in two test cases.
…
clear ur cahce and then try to submit again. working fine on my side
u can can use that as well.
u were were here only a median case thats why i put >= in the else if condition to handel all case
if it still gives tle then add these two lines just in the start of int main.
ios_base::sync_with_stdio(false);
cin.tie(NULL);
done sir, Thank you .
sir, what are the function of these two lines.
…
these lines will make ur program bit fast .
read about fast io in c++ for more details
done sir .
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.