当前位置:
首页
资源下载
![](/images/right.gif)
搜索资源 - integer programming
搜索资源列表
-
0下载:
实现多线程通讯编程,一个线程计算1到100的整数,另一个线程显示得到1到100的计算结果-Multi-threaded communication programming, a thread to calculate an integer of 1-100, another thread display calculations 1-100
-
-
0下载:
用汇编语言编写程序计算比赛成绩。
要求:① 比赛选手人数控制在30以下;
② 9个评委,每个评委给分范围为0~10分(整数),随机给出分数;
③ 9个评委的给分中,去掉一个最高分和一个最低分,余下7位评委的平均分即为参加者的得分(精确到小数点后一位);
④ 将分数在屏幕中间位置处用红色显示出来;
⑤ 将参加比赛的选手的排名顺序显示出来;
-Assembly language programming to calculate the competition resul
-
-
0下载:
求解混合整数线性/非线性规划的matlab源代码-Solving mixed integer linear/nonlinear programming of matlab source code
-
-
0下载:
java采用面向对象编程方法实现一个简单的计算器,完成两个整数的加、减、乘、除运算。参与运算的两个整数及运算符从命令行参数传入。-Java programming method by using object oriented implement a simple calculator, finish two integer of add, subtract, multiply and divide operations. Participate in the operation two int
-
-
1下载:
设有两个数组A和B,其数据均为20个。编程实现将两个数组中的数据各自按由小到大的顺序存放。之后,再将既在A数组中出现又在B数组中出现的整数按照由大到小的顺序存放于数组C中。
-The known two integer the variables A and B, try to write complete the following operating procedures:
(1), if two number one is odd number, it will be an odd
-
-
0下载:
编写程序,模拟约瑟夫环(josephus)问题: n个人(编号为1,2,3,……,n (n>0) )按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出两个值:一个为首先报数的人的编号i (0<i<=n),另一个为起始报数上限值m。接着从编号为i的人开始按顺时针方向自1起顺序报数,报到m时停止报数,且报到m的人出列,并将他的密码作为新的m值,从他在顺时针方向上的下一个人起重新自1报数,……,如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,给出出列人的编号序
-
-
0下载:
C++编程——从键盘上输入10个整数,存放在一维数组中,请编程输出其中的最大元素、最小元素的值以及它们的下标。-C++ programming- 10 integer input from the keyboard and stored in the one-dimensional array, the programming output of which the largest element, the minimum value of the element, as well as the
-
-
0下载:
枚举是一个指定的常数,其基础类型可以是除 Char 外的任何整型。
如果没有显式声明基础类型,则使用 Int32。
编程语言通常提供语法来声明由一组已命名的常数和它们的值组成的枚举。-Enumeration is a constant, based on type can be any integer outside the Char. If you do not explicitly declare the underlying type, use Int32 The. Program
-
-
0下载:
« 问题描述:大于1 的正整数n能分解为:n=x1*x2*…*xm。例如,当n=12 时,共有8 种不同的分解式:12=12;12=6*2;12=4*3;12=3*4;12=3*2*2;1112=2*6;12=2*3*2;12=2*2*3。« 编程与开发任务:对于给定的正整数n,编程与开发计算n共有多少种不同的分解式。« 数据输入:由文件input.txt给出输入数据。
-« Descr iption of the problem: the posit
-
-
1下载:
RC4 加密解密单元delphi版附件压缩包里有两个单元文件,其中Rc4_Kol_Unit.pas是在delphi KOL编程时引用。若只是delphi编程只须引用Rc4_Unit.pas单元即可。函函数名: Rc4_StrEncrypt()描 述: RC4 Based string encryption参 数: i_Encrypt ——为 1 是加密, 0 是解密(integer类型); s_En
-RC4 encryption decryption unit annex to the d
-
-
0下载:
为了使用Visual C语言编程直接读取dbf文件。需要了解dbf文件的二进制文件格式,下面给出简要的说明。 表文件由头记录及数据记录组成。头记录定义该表的结构并包含与表相关的其他信信息。头记录由文件位置 0 开始。数据记录1紧接在头记录之后(连续的字节),包含字段中实际的文本。 记录的长度(以字节为单位)等于所有字段定义的长度之和。表文件中存储整数时低位字节在前。
-In order to use the Visual C language programming directly rea
-
-
0下载:
VC++编程、计算机图像学、矩阵实现图像的基本变换,旋转、平移、比例变换、微分和整数算法绘制直线-Basic transformation of the image VC++ programming, computer iconography matrix, rotation, translation, scaling, differential draw straight lines and integer arithmetic
-
-
0下载:
利用Java编程实现了将一个整数的分解,将一个正整数分解质因数。
-Java programming to achieve the prime factors of an integer decomposition, a positive integer factorization.
-
-
1下载:
利用labview编写程序:
4、使用循环进行数组排序
要求:可以多次操作,直到点退出按钮。
5. 产生一个3×3的整数随机数数组,随机数要在0到100之间,然后找出数组的鞍点,即该位置上的元素在该行上最大,在该列上最小,也可能没有鞍点。如下图所示:
要求:加上数组元素数设置以及redo按钮重新取值计算
-Labview programming: 4, using a loop array sorting requirements: multiple operati
-
-
5下载:
利用labview编程:
6. 利用簇模拟汽车控制,如右图所示,控制面板可以对显示面板中的参量进行控制。油门控制转速,转速=油门*100,档位控制时速,时速=档位*40,油量随VI运行时间减少。
注意:档位为整数,油量减少速度与档位有关。
7.1 利用随机数发生器仿真一个0到5V的采样信号,每200ms采一个点,共采集50个点,采集完后一次性显示在Waveform Graph上。
7.2 在上题的基础上再增加1路电压信号采集,此路电压信号的范围为5到10V,采样间
-
-
0下载:
简单的java图形编程,能实现加减乘除的计算器(正整数的运算)。-Simple java graphics programming, calculator (addition, subtraction, multiplication and division of positive integer arithmetic).
-
-
0下载:
自动机例子,都是可执行的.c文件。包括:检测C整形变量定义(自动机).c,检测C注释风格(自动机).c,交通观测灯.c,交通观测灯解法1.c、交通观测灯解法2.c。对于学习自动机后自己编程有很大帮助。-Automaton examples are executable c file. Including: to detect C integer variable definition (automatic machine) c detected C comment style (automati
-
-
0下载:
利用labview软件编程实现随机数取整判相等-Using labview software programming realize random integer equal
-
-
0下载:
有一个正整数数组,包含N个元素,要求编程求出其中的素数之和以及所有素数的平均值。-A positive integer array containing N elements, programming to find the primes and the average of all primes.
-
-
0下载:
设n是一个正整数。现在要求将n分解为若干个互不相同的自然数的和,且使这些自然 数的乘积最大。 对于给定的正整数n,编程计算最优分解方案。-Let n be a positive integer. Now requires that the n-divided into a number of mutually different natural numbers, and that the product of the number of these natural maximum. For a
-