文件名称:占座位
-
所属分类:
- 标签属性:
- 上传时间:2017-10-28
-
文件大小:455kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
sun所在学校的教室座位每天都是可以预占的。
一个人可以去占多个座位,而且一定是要连续的座位,如果占不到他所要求的这么多座位,那么他就一个座位也不要了。为了降低难度,每次分配座位按座位号从小到大查找,采用最先适配法分配座位。(The classroom seats at sun are available every day. A person can go to more than one seat, and must be a continuous seat, if you can not account for so many seats he requested, then he would not have a seat. In order to reduce the difficulty, each seat is allocated according to seat number from small to large, and the seats are allocated by the first fit method.)
一个人可以去占多个座位,而且一定是要连续的座位,如果占不到他所要求的这么多座位,那么他就一个座位也不要了。为了降低难度,每次分配座位按座位号从小到大查找,采用最先适配法分配座位。(The classroom seats at sun are available every day. A person can go to more than one seat, and must be a continuous seat, if you can not account for so many seats he requested, then he would not have a seat. In order to reduce the difficulty, each seat is allocated according to seat number from small to large, and the seats are allocated by the first fit method.)
相关搜索: 占座位问题
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.