Sponsored
Use these hints if you're stuck. Try solving on your own first.
Count the number of times a player loses while iterating through the matches.
Solve with full IDE support and test cases