会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
要有梦想
即便遥远
博客园
首页
新随笔
联系
订阅
管理
2018年12月22日
睡眠理发师问题
摘要: 1 #include 2 #include 3 #define random (rand()*10000)/RAND_MAX //用来产生随机数 4 int main() 5 { 6 int c;//沙发数 7 int customers=0;//顾客数 8 int count=0;//循环中用来计量的 9 int w=0;//...
阅读全文
posted @ 2018-12-22 15:51 无心小男
阅读(2123)
评论(0)
推荐(0)
公告