-
编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,...
编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,报道m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止,设计一个程序求出出列顺序。采用单向循环链表模拟此过程,按照出列的顺序印出各人的编号测试数据:m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为6,1,4,7,2,3,5)-No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, each holding a password (positive integers), a candidate started as a positive integers m ceiling on the number of reported from the first individuals to embark on the clockwise direction from the start sequence from a few newspaper reports m reportedly stopped a few. M reported out of the list of his password as a new value m, from the clockwise direction on the next re-started from a few reported so on, until all out all out, the design of a procedure sought out the order out. Listless one-cycle simulation process and follow the sequence shown in the numbers printed each test data : m for the initial 20; N = 7,7 personal passwords were : 3,1,7,2,4,8
- 2022-01-24 15:11:40下载
- 积分:1
-
I do an adaptive filter, in addition to taking into account clutter suitable for...
我做的一个自适应滤波器,可以虑除杂波,适合信号采样之后的数字滤波-I do an adaptive filter, in addition to taking into account clutter suitable for signal sampling after the digital filter
- 2022-02-12 17:28:54下载
- 积分:1
-
拓扑排序 好的VC程序
拓扑排序 好的VC程序-topological sorting good VC Program
- 2022-06-11 23:36:54下载
- 积分:1
-
电气类毕业设计,电气,电气,猫…
电气类毕业设计毕业设计电气类毕业设计电气设计电气类毕业设计电气类毕业设计电气类毕业设计电气类毕业设计电气类毕业设计电气类毕业设计电气类毕业设计电气设计电气设计研究生类
- 2022-04-18 05:16:44下载
- 积分:1
-
Magnifier+Spotlight WPF Custom Control
WPF基础Windows应用程序中可使用的两种 Custom Control预制产品。
Magnifier可放大看特定部分。
Spotlight只能显示特定部分。
可了解在Custom Control使用Generic Themes的方法。
下图为屏幕照。
- 2022-02-05 05:45:02下载
- 积分:1
-
销售订单管理系统
应用背景该软件的开发使用Visual Basic.NET和MS Access 2010为我的客户。主要特点是:1经销商管理。2产品管理。3销售人员的管理。4。销售管理5先进的报告。登录信息:用户名:admin密码admin关键技术该软件的开发使用Visual Basic.NET和MS Access 2010为我的客户。
- 2023-02-25 20:45:04下载
- 积分:1
-
象棋演播室XQStudio开源了,象棋XQStudio
象棋演播室XQStudio开源了,象棋XQStudio-1.63源代码
有兴趣的可以学习下-Chess studio XQStudio open source, and chess XQStudio-1.63 source code are interested can learn under the
- 2022-11-14 23:10:03下载
- 积分:1
-
基于TCP的客户端和服务器
基于TCP的客户端和服务器
理解客户端与服务器模型的工作原理。
2
、掌握套接字的概念。
3
、掌握
TCP
协议,基于
TCP
协议来设计此客户端
/
服务器程序。
4
、通过设计面向连接的数据流传输服务程序,加深对面向连接的服务程序
工作流程和基本框架的理解
- 2022-01-26 02:33:44下载
- 积分:1
-
plug
插件编程,是学习插件编程非常好的例子-plug-in programming, learning plug-in programming is a very good example
- 2022-06-12 03:42:32下载
- 积分:1
-
iconv是xml转换过程中,将utf
iconv是xml转换过程中,将utf-8和gb2312之间转换的方法-iconv is xml conversion process will be utf-8 and the method of conversion between gb2312
- 2022-03-01 22:08:57下载
- 积分:1