🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Henning Schmiedehausen Wed, 15 Apr 1992 20:09
(Noch ein) Algorithmus gesucht
#93
Author: Henning Schmiedehausen
Date: Wed, 15 Apr 1992 20:09
37 lines
1463 bytes
Nachdem ja alle Welt einen Algo sucht, suche ich auch einen:

Ich habe n Mitspieler und will einen Spielplan (Fussball, Handball etc.)
aufstellen. D.h. aus den n Mitspielern sollen Spieltage der Form

team1 - team2
team3 - team4
.....
team(n-1) - team(n) bei geradem n

oder

team(n)             bei ungeradem n

und zwar ueber n-1 Spieltage, so dass jeder gegen jeden spielt.

Trivial: n=4

Spieltag  |  1  |  2  |  3
----------+-----+-----+-----
Paarung 1 | 1-2 | 3-1 | 1-4
Paarung 2 | 3-4 | 2-4 | 3-2

Was ich jetzt suche, ist ein Algorithmus, der diese Tabellen fuer
grosse n ( 10 < n < 30 ) aufbaut.


	Ciao
		Henning

P.S.: Ausserdem duerft ihr noch raten, wofuer ich das brauche :)

--
-- Henning Schmiedehausen --- barnard@forge.erh.sub.org --- A 3000/25 --- __
...talk about love, love, love in the palm of your |Home of Barnard's__  ///
hand me a love that you thought wasn't plastique   |Software Forge   \\\///
yea, don't give me kenbarbielove, kenbarbielove.... - MwH, Sideways   \XX/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads