文件名称:RaceCalendar
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-12-08
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 刘**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(循环赛日程安排) 设有n=2^k个选手要进行网球循环赛,要求设计一个满足以下要求的比赛日程表:
(1)每个选手必须与其他n-1个选手各赛一次;
(2)每个选手一天只能赛一次。
按此要求,可将比赛日程表设计成一个 n*n的矩阵,其中,第 i 行第 j 列表示和第 i 个选手在第 j 天比赛的对手。
编写循环赛的日程安排程序。具体实现时可以有多种方法实现,但是递归实现是必须完成。
-(round robin schedules) with n = 2 ^ k a player to tennis round robin, request to design a meet the following requirements of the match schedule:
(1) each player must with other n- 1 player all the time.
(2) each player a day can only "a.
According to the requirement of the match schedule design into a n* n matrix, among them, the first I do the first j column and the first I said a player in the first j day game against.
Write round robin schedule program. Specific implementation may have many kinds of methods to realize, but recursive realization is must be completed.
(1)每个选手必须与其他n-1个选手各赛一次;
(2)每个选手一天只能赛一次。
按此要求,可将比赛日程表设计成一个 n*n的矩阵,其中,第 i 行第 j 列表示和第 i 个选手在第 j 天比赛的对手。
编写循环赛的日程安排程序。具体实现时可以有多种方法实现,但是递归实现是必须完成。
-(round robin schedules) with n = 2 ^ k a player to tennis round robin, request to design a meet the following requirements of the match schedule:
(1) each player must with other n- 1 player all the time.
(2) each player a day can only "a.
According to the requirement of the match schedule design into a n* n matrix, among them, the first I do the first j column and the first I said a player in the first j day game against.
Write round robin schedule program. Specific implementation may have many kinds of methods to realize, but recursive realization is must be completed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RaceCalendar.java