搜索资源列表
osBank
- 3、银行家算法 设request:是Pi进程的请求向量,当Pi发了资源请求后,系统按下述步骤检查: (1)如果Request[i]<= Need[i],则转向步骤(2); (2)若Request[i] <=Available,则转向步骤(3); (3)系统试探性地把要求的资源分配给进程Pi,并修改以下数据结构的值: Available=Available-Request[i]; Allocation[i]= Allocation[i]+ Request[i];
gongjiaoche
- 公交车之谜:从学校到人民公园共有n(1<=n<=20)站路,小明刚上车时车上有m个人,每到一站都有pi个人上车,qi个人下车,问这一路上公车上最多有多少人。(0<=m, pi ,qi <=50). -Mystery Bus: People s Park from the school to a total of n (1 <= n <= 20) Station Road, Xiao Ming on the car the car just has m indi
5
- 程序计算与PI值相关的BUFFON‘S NEEDLE问题。-Buffon s needle