I tried to write code similar to that of prateek bhaiya but all test cases are failed. Can figure out what should I change in it?
I have tried it with long long int but getting TLE in 2 cases
Median in a stream of running
Thanks, but I already done with The approach similar as yours. I want to know what is the error in my above approach? can you please spot it out?
print output for each test case in separate line . rest everything is correct.
Thnx bro, it worked!!!