文件名称:xunhuansai
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:559byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用分治算法生成循环赛日程表(1到2的n次方个人)输入:
一个整数n
输出:
循环赛日程表(1到2的n次方个人)
输入样例:
3
输出样例:
1 2 3 4 5 6 7 8
2 1 4 3 6 5 8 7
3 4 1 2 7 8 5 6
4 3 2 1 8 7 6 5
5 6 7 8 1 2 3 4
6 5 8 7 2 1 4 3
7 8 5 6 3 4 1 2
8 7 6 5 4 3 2 1-Divide and conquer algorithm to generate round robin schedule (1-2 n-th individual) input: an integer n output: the input sample of the round robin schedule (1-2 n-th individual): Output sample: 1 2 3 4,567,821,436,587,341,278 5 6 4 3 2 1 8 7 6 5 5 6 7 8 1 2 3 4 6 5 8 7 2 1 4 3 7 8 5 6 3 41287654321
一个整数n
输出:
循环赛日程表(1到2的n次方个人)
输入样例:
3
输出样例:
1 2 3 4 5 6 7 8
2 1 4 3 6 5 8 7
3 4 1 2 7 8 5 6
4 3 2 1 8 7 6 5
5 6 7 8 1 2 3 4
6 5 8 7 2 1 4 3
7 8 5 6 3 4 1 2
8 7 6 5 4 3 2 1-Divide and conquer algorithm to generate round robin schedule (1-2 n-th individual) input: an integer n output: the input sample of the round robin schedule (1-2 n-th individual): Output sample: 1 2 3 4,567,821,436,587,341,278 5 6 4 3 2 1 8 7 6 5 5 6 7 8 1 2 3 4 6 5 8 7 2 1 4 3 7 8 5 6 3 41287654321
(系统自动生成,下载前可以参看下载内容)
下载文件列表
xunhuansai.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.