文件名称:zhwxuejia
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.34kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一群哲学家围坐在一个圆桌,手上持有密码m,并从1开始编了号取初值m,哲学家从1开始报数, 报到m的哲学家停止吃饭,退出圆桌,求哲学家退出的顺序。要求:n和初值m由完家输入.手上的密码随机产生.最后要打印出编号对应的密码,输出哲学家离开的相后顺序-A group of philosophers sitting in a round-table, holding hands password m, and from the No. 1 started to take the initial value m, a philosopher from 1 to start off, appearance m philosophers to stop eating, to withdraw from the round-table, and philosopher to withdraw from the order. Requirements: n and m initial input by the End home. The hands of a randomly generated password. Finally, I had to print out the corresponding number of passwords, the output of the philosopher to leave after the order
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哲学家就餐问题C原代码.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.