Code not working

https://ide.codingblocks.com/s/612172 getting tle and not passing tt

@jainarpit0210
are you are asked for only integer part take pqiority queue of long istead of doubles and
then print ‘\n’ after every test case rest is correct
Coding Blocks IDE
this is the implemented code it will work and if your issue still exists let me know and if clear please rate my experience

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.