设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。
标签:
上传时间: 2014-01-22
上传用户:cursor
ZEUS is a family of Eulerian (grid based) Magneto-Hydrodynamic codes (MHD) for use in astrophysics, described in a series of papers by Stone and Norman (1, 2, 3). It may be used in Cartesian (XYZ), cylindrical (ZRP), and spherical (RTP) coordinates.
标签: Magneto-Hydrodynamic astrophysics Eulerian family
上传时间: 2013-12-19
上传用户:maizezhen
泊松分布是一种常用的离散型概率分布,数学期望为m的泊松分布的分布函数定义如下: P(m, k) = mk * e-m/k! (k = 0, 1, 2, 3, …) 对于给定的m和k (0<m<2000, 0<= k < 2500),计算其概率,以科学格式输出,保留小数点后6位有效数字。
上传时间: 2017-06-14
上传用户:wpwpwlxwlx
RX Library contains a large number of components, objects and routines for Borland Delphi with full source code. This library is compatible with Borland Delphi 1, 2, 3, 4 and Borland C++ Builder 1 and 3.
标签: components contains routines Library
上传时间: 2013-12-30
上传用户:daguda
(2,1,3)卷积码编译码程序。 每行代码有说明,方便阅读
标签:
上传时间: 2017-07-02
上传用户:jennyzai
NEC遥控器解码实验,按一下按键,数码管显示相应的1.2.3...
上传时间: 2017-07-03
上传用户:lx9076
zlib是文件压缩算法,它的压缩和解压算法都是完全公开的,因此它在swf解码,mp3解码中已经得到广泛的运用.而1.2.3版是最新且稳定的一个版本.
上传时间: 2014-01-09
上传用户:qilin
3D游戏编程大师技巧(中文版) 本书是游戏编程畅销书作者André LaMothe的扛鼎之作,从游戏编程和软件引擎的角度深入探讨了3D图形学的各个重要主题。全书共分5部分,包括16章的内容。第1~3章简要地介绍了Windows和DirectX编程,创建了一个Windows应用程序模板,让读者能够将精力放在游戏逻辑和图形实现中,而不用考虑Windows和DirectX方面的琐事;第4~5章简要地介绍了一些数学知识并实现了一个数学库,供以后编写演示程序时使用;第6章概述了3D图形学,让读者对本书将介绍的内容有大致的了解;第7~11章分别介绍了光照、明暗处理、仿射纹理映射、3D 裁剪和深度缓存等内容;第12~14章讨论了高级3D渲染技术,包括透视修正纹理映射、Alpha混合、1/z缓存、纹理滤波、空间划分和可见性算法、阴影、光照映射等;第15~16章讨论了动画、运动碰撞检测和优化技术。 本书适合于有一定编程经验并想从事游戏编程工作或对3D图形学感兴趣的人员阅读。
上传时间: 2014-02-25
上传用户:lhc9102
Blocking CoThe aim of this toolbox is to compute blocking probabilities in WDM networks. This work was based on [1], [2], [3], [4] and user is referred to those papers for deeper study. Because WDM networks are circuit switched loss networks blocking may occur because of lack of resources.Computation in WDM Networks Toolbox
标签: probabilities Blocking blocking networks
上传时间: 2014-01-14
上传用户:iswlkje
Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5
标签: Implementation calculates algorithm Edmonds
上传时间: 2014-01-04
上传用户:kiklkook