🏆Tournament Begins!
5 players, only some matches recorded. How many players' ranks are fixed?
Loading...
5 players, only some matches recorded. How many players' ranks are fixed?
A neighborhood arm-wrestling tournament was held. N players joined, and skill follows a strict order, so a stronger player always beats a weaker one. Due to lack of time not every match was played, and only some results were recorded. Luckily, if "A beats B and B beats C", we can be sure A also beats C (because the skill order is consistent). Using only the recorded results, count how many players have their win/loss against every other player fully determined, so their exact rank is decided.
5 5 1 2 1 3 2 4 3 4 4 5
3
After filling reachability, player 1 beats everyone (rank 1 fixed), player 4 beats only 5 and loses to 1·2·3 (rank 4 fixed), player 5 loses to everyone (rank 5 fixed). Players 2 and 3 have no known result against each other, so they are undetermined. Hence 3.