Description: Assuming the ball over the weekend, men and women to enter the ballroom, the respective line up a team. Dance begins, followed by men s and women s teams from the teams head out of one pair each partner. If the initial number of teams is not the same, the longer the team who did not wait for the next round of matching dance. Are now required to write a simulation algorithm matching the above-mentioned problem of partner.
To Search:
- [match] - A partner matching pair of small program
File list (Check if you may need any files):
舞伴(队列).txt