-
« 问题描述:
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。
(1) n∈set(n);
(2) 在n的左边加上一...
« 问题描述:
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。
(1) n∈set(n);
(2) 在n的左边加上一个自然数,但该自然数不能超过最近添加的数的一半;
(3) 按此规则进行处理,直到不能再添加自然数为止。
例如,set(6)={6,16,26,126,36,136}。半数集set(6)中有6 个元素。
注意半数集不是多重集。集合中已经有的元素不再添加到集合中。
« 编程任务:
对于给定的自然数n,编程计算半数集set(n)中的元素个数。
« 数据输入:
输入数据由文件名为input.txt的文本文件提供。
每个文件只有1 行,给出整数n。(0
- 2022-02-15 12:30:46下载
- 积分:1
-
Napster服务端源程序
Napster服务端源程序-source Napster server
- 2023-08-22 00:25:04下载
- 积分:1
-
vc_usb 控制程序
vc6 usb控制程序,使用环境是vc++6,实现usb接口的读操作,写操作,枚举操作,在windows端实现与usb设备的通信,usb设备使用c8051f320芯片
- 2022-03-22 20:03:13下载
- 积分:1
-
Own a train ticketing system are welcome to instruct everyone to download my sof...
自己编的一个火车售票系统,欢迎大家下载指点我的软件- Own arrange a train booking system, welcome everybody downloading to direct my software 【上载源码成为会员下载此源码】【成为VIP会员下载此源码】-Own a train ticketing system are welcome to instruct everyone to download my software- Own arrange a train booking system, welcome everybody downloading to direct my software 〖upload source to become a member download the source code〗 〖become a VIP member to download this source〗
- 2023-01-02 06:15:03下载
- 积分:1
-
参照《Windows程序设计》一书编写的Wave声音捕获到内存的VCL控件BCB源码(亦即一个通用的C++类)。采用双缓冲技术,效果比较流畅。可以方便进行音频数...
参照《Windows程序设计》一书编写的Wave声音捕获到内存的VCL控件BCB源码(亦即一个通用的C++类)。采用双缓冲技术,效果比较流畅。可以方便进行音频数据处理和研究。根据需要,代码可能要部分修改。-light "Windows Programming," a book prepared by the Wave voices to capture the memory VCL controls BCB source (ie, a generic category C). Double buffer technology and the results were quite fluent. Audio can facilitate data processing and research. According to the need, code may be some changes.
- 2023-04-19 18:30:04下载
- 积分:1
-
a multifunctional electronic calculator input to the design of set procedures
一个多功能电子计算器的设计的输入设定程序-a multifunctional electronic calculator input to the design of set procedures
- 2022-02-15 15:21:54下载
- 积分:1
-
com asynchronous processing examples on the Internet to find, and that a simple...
com异步处理例子,在网上找到的,做了简单修改-com asynchronous processing examples on the Internet to find, and that a simple modification
- 2023-04-26 00:45:03下载
- 积分:1
-
在VC中使用nntoolkit工具箱
1、 安装和注册nnToolKit组件
参见神经网络组件《nnToolKit安装手册》。
2、 导入nn...
在VC中使用nntoolkit工具箱
1、 安装和注册nnToolKit组件
参见神经网络组件《nnToolKit安装手册》。
2、 导入nnToolKit组件
新建一个MFC AppWizard[exe]工程后,导入nnToolKit
使用MFC ClassWizard,添加一个新类,选择From a type of library,
在弹出的对话框中选中nnToolKit.dll
确定后,可以在workspace中发现类InnToolKit
(本例中采用自动化方法来使用COM,)
-in VC nntoolkit use a toolbox, installation and registration nnToolKit components See neural network components "nnToolKit installation manual." 2. nnToolKit components into a new MFC AppWizard [exe] works, Introduction nnToolKit use MFC ClassWizard, add a new category, From choice of a type of library, in the pop-up dialog box selected nnToolKit.dll identified, can be found in the workspace InnToolKit category (in this case the use of automated means to use COM,)
- 2023-05-02 00:50:02下载
- 积分:1
-
在线购物车
介绍
- 2022-02-25 08:28:05下载
- 积分:1
-
all software necessary steps to abolish the general procedures used to be the so...
所有必要的软件步骤,以废除一般程序使用的源代码。在最后!
- 2022-12-08 05:40:03下载
- 积分:1