Median in a stream of integers

its passing most of the cases but showing TLE in 2 test cases

hello @kshitiz_joshi
use fast io.

i dont know how to use fast io? and how does it help?


read it

1 Like

thanks it worked but can i use
ios_base::sync_with_stdio(false);
cin.tie(NULL);
these lines before the main()

no…

1 Like