搜索结果
找到约 148 项符合
print-gen 的查询结果
数据结构 数字运算
数字运算,判断一个数是否接近素数
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum o ...
文件格式 linux操作系统下运行
linux操作系统下运行,print current directory s files
数据结构 2^x mod n = 1 acm竞赛题 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input
2^x mod n = 1 acm竞赛题 Give a number n, find the minimum x that satisfies 2^x mod n = 1.
Input
One positive integer on each line, the value of n.
Output
If the minimum x exists, print a line with 2^x mod n = 1.
Print 2^? mod n = 1 otherwise.
You should replace x and n with specific numbers. ...
人工智能/神经网络 遗传求解求解一元二次方程的解源程序(下载点击GAdownload.c) 说明: 1 popu变量表示群体规模 2 L变量表示染色体的长度 3 pc,pm变量分别代表是交叉概率和变异概率 4
遗传求解求解一元二次方程的解源程序(下载点击GAdownload.c)
说明:
1 popu变量表示群体规模
2 L变量表示染色体的长度
3 pc,pm变量分别代表是交叉概率和变异概率
4 gen是迭代的代数
4 chromosome是一个全局的二维数组,里面存放的是个体的编码
5 程序最后的执行结果输出到了text.txt文本文件中 ...
微处理器开发 transplant uc/os2 on coldfire5307 编译通过
transplant uc/os2 on coldfire5307 编译通过,并且还有验证程序,2个task :循环点led,和串口print字符串
微处理器开发 移植Nuclues_RTC到coldfire5307在diab下编译通过
移植Nuclues_RTC到coldfire5307在diab下编译通过,并且主程序为串口通信的print字符串
SQL Server 一个vb开发,可以动态生成SQL的"拼装类". 例如: sql.strsql="select ? from ? " sql.setFieldEx "field1" sql.setFieldE
一个vb开发,可以动态生成SQL的"拼装类".
例如:
sql.strsql="select ? from ? "
sql.setFieldEx "field1"
sql.setFieldEx "tbl"
debug.print sql.strsql
输出:select field from tbl
数据结构 定义一个字符串类String
定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小 ...
数据结构 首先定义一个点类Point
首先定义一个点类Point,其私有成员为其坐标X,Y。设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print。再定义一个线类Line,线类是在公有继承点类的基础上,新增私有成员斜率S,并设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信 ...
VC书籍 Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs By Scott Meyers
Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs
By Scott Meyers
...............................................
Publisher: Addison Wesley Professional
Pub Date: May 12, 2005
Print ISBN: 0-321-33487-6
Pages: 320