code link: https://ide.codingblocks.com/s/319062
i worked with my test cases it is giving right answer. But not working here
Running median problem
Hey @saxena.anukrati15
Your code looks correct but u have to print only integer part as output and not the float part
For this
1
2
1 2
Output should be 1 1
I hope this resolves ur query
Hey , If your doubt is resolved then please mark it resolved
Otherwise let me know the issue .
There are 2 corrections in your code:
First is on line 59 : cout << (int)med <<" ";
& another on line 69 : double array[10001];
Both are based on requirements of the question.
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.