Median in a stream of int

Cant pass any test case although it is giving correct output

@S19WDPP0014
for each testcase you have to print output in next line. You haven’t moved to next line for each testcase.
just write cout<<endl; after line 55.

@S19WDPP0014
Mark this doubt as resolved.