Team solving algorithm - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Team solving algorithm

jbujosa0623jbujosa0623 Posts: 1Member
Hi, my name is Jaime and I need an algorithm for solving a problem with a volleyball tournoment. The thing is this, I have around 150 to 175 teams,every team has to play 8 games with other different teams, the other teams cannot be repeated(This is the problem) since the teams cannot be reapeated for each 8 teams there is going to be one team that is going only to play 7 games, and there is the problem I need to solve... I will apreciate all the elp you can bring... Thank you...

Comments

  • RuturajRuturaj Posts: 1Member
    can u explain the problem properly
  • RonanRonan Posts: 1Member
    Jamie,
    You really can't do it without introducing a "bye" week for a team. Your dealing with integers only. I would suggest having the last seasons leader be afforded the opprotunity. The same issue is addressed with Pool leagues in my area. They have the problem of never knowing how many teams will be playing from season to season.
    They solved the ranking issue by simply keeping that teams rank the same during the week.
    I'd also suggest putting this bye week at the very first week. This way, all teams play throughout the entire season and the previous seasons leader get a bonus week as well as gets to come in as the number one seed the following week.
    If your counting simply wins vs. losses, this leader gets a win. If your counting accumulated points, you average them over the number of weeks played. Very simple.
  • cuneytgurcancuneytgurcan Posts: 1Member
    hi,
    in turkey we had such an hw
    use prolog
    or lisp
    this will be easier

Sign In or Register to comment.