If they ______ harder, they would have won the championship match.
Correct: B
This is a Third Conditional sentence. The main clause 'they would have won' indicates a past hypothetical result, so the 'if' clause requires the past perfect tense, which is 'had trained'.