Strongest fighter(4 test case getting wrong)

@Saksham12 Remove the equality in line 16 and 29…replace it with while(!q.empty() && a[i]>q.back())
Check after this.

nothing getting corrected

@pratyush63 https://ide.codingblocks.com/s/172612
Check it now.

I appreciate your efforts but still your code is incorrect, I have already corrected my code, the error is only in line no. 16 it should be a[q. back() ]

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.