Questions tagged [tournament]

The tournament tag refers to any tournament style program. Only use when the question directly relates to programming tournament style programs.

112 questions
-1
votes
1 answer

Tournament Tree seeding with n Teams, m Groups, k Proceeder and Lucky loser

Imagine a tournament with 6 groups and 4 Teams per group. 2 Teams of each group (called "proceeder" from now on) proceed to the elimination phase (tournament tree / bracket stage...). Now that there are 6 groups with 2 proceeder each, the total…
Seba M
  • 99
  • 1
  • 8
-1
votes
1 answer

Find a Hamiltonian Path on a tournament with adjacency lists in Python

A tournament is a complete, directed graph, such that given any two vertices, u and v, there exists a directed edge between them (if u won over v, then the edge is from u to v). A Hamiltonian Path always exists in a tournament. So given adjacency…
PolkaDot
  • 520
  • 1
  • 7
  • 18
-1
votes
1 answer

Understanding Vector classes and Tournament selection

I want to be able to compare the "overall" values of a person with another person. I'm unsure if I'm storing them correctly and I don't know how to compare them correctly. I don't know how to access the "overall" values of any single person, which…
Ploxzx
  • 53
  • 3
-1
votes
1 answer

Tournament Generator PHP

I found this package and I am trying to run the example and the show the bracket. But it outputs some weird characters: �PNG IHDR�Ht�4PLTE���U��~�IDATx����o�V��GIW&q�*�=ު`B�&��?�?!R*Mv� You get the point. I am thinking that it's because: // If…
Ara Sivaneswaran
  • 365
  • 1
  • 10
  • 25
-2
votes
1 answer

(beginner) Python program functions when completely only when functions are run separately. Tournament tracking program:

All of this code functions perfectly when run alone. However, when i choose the standings option after i have run the new and fixture option the code throws an error. Any assistance on this matter would be greatly appreciated. main(): print…
-2
votes
1 answer

Unexpected out - Finding Maximum and Second Maximum

I am trying to implement a simple tournament in C. #include int main(void) { int tourn[100], n, i; printf("Give n:"); scanf("%d", &n); printf("\n n = %d \n", n); for(i = n; i <= (2*n)-1; i++) scanf("%d",…
ramcha
  • 11
  • 3
-4
votes
1 answer

Tournament Program

we are required to create a program that sets up the first round of a tournament for a project. If there is an uneven amount of contestants, the program is required to add a bye. Here is my code: from random import* bye=[] teams=[] while True: …
D Shinas
  • 27
  • 1
  • 2
  • 4
1 2 3 4 5 6 7
8