RR Scheduling

I am not asking for solution as the contest is going on but I just need one help. This is question on Round Robin scheduling. I wrote the code for this, using priority queues but when I executed its not even passing the given example test cases. But when I took help from geek for geek, even its result is not matching with the given test cases. So, please tell me know if this question’s example test cases are correct?
And if this question violates the code of conduct of code chef pls lemme know I will delete this post.
This is the question Link: