For loops are expensive and nested for loops are even more expensive, and it is not necessary to run the nested for loops to check for duplicates if you have only one or two players in entering in one entry.
You are wasting gas and using unnecessary complexity in your code.
Manual review
Change the code as follows (note I am also using the custom error I recommended in another finding):
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.