文件名称:listentelephone
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:686byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一共4部电话编号为1,2,3,4,电话分别在不同的房间内,3个接线员,编号为A,B,C。A只负责1,2号电话,B负责2,3号电话,C负责3,4号电话。假设单位时间为1,在每一个单位时间内,每个接线员可以回复一个房间内的电话,或者从一个房间走的另一个房间。但是每个房间同一时间只能有一个人。给出时间段x内的所有电话的情况,编程输出最多能答复的电话数。(A,B,C的最初位置可以按情况自己选择)-A total of four phone numbers for the 1,2,3,4, phones in different rooms, three operators, numbered A, B, C. A telephone number is only responsible for 1,2, B 2,3 Tel responsible for, C for 3,4 Tel. Assuming the time is 1, in each unit time, each operator can return the phone within a room, or walking from one room to another room. Each room at the same time, however only one person. X within the given time period the situation of all phone, programming the output up to answer the telephone number. (A, B, C' s initial position can choose the circumstances)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
listentelephone.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.