My ans is correct but the test cases are not passing

i am doing the hostel visit heaps question and the ans are correct but the test cases are not passing

hello @raginibhayana99

use long long in place of int and then try

yes, i have tried that but still none of my test cases are getting accepted

check now->

a) use long long
b) priority queue declaration was wrong

1 Like

this worked, thank you so much!

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.