I've been thinking about this for a while, and haven't been able to figure it out. My math teachers haven't been able to, either.
You have N teams, and each team has P players. Each player plays a (singleplayer) game, and has a W% chance of winning (each player has a different chance of winning, and this winrate is known beforehand). Let's set up an example scenario with 3 teams and the winrates of their players:
Team A: 50%, 40%, 40% Team B: 60%, 40%, 30% Team C: 90%, 50%, 20%
Whichever team gets the most wins wins the competition overall. If two teams tie for first, they both get first place and the remaining team gets third. If all three tie, they all get first place.
How do you determine, for this example, the chance for each team to get first, second, and third place? How would you determine this for any given variables in place of the ones used in this example?