一个N位数的各位数的N次方之和等于这个数,称为armstrong数(如:153=1^3+5^3+3^3)。编一个程序,求出2,3,4位数中所有的armstrong数。
标签:
上传时间: 2013-11-29
上传用户:xiaoyunyun
从基本蚁群算法出发,基于 *+,(-./012345 6/2167/4 8.9:217)的邻域结构,提出了一种改进的优 化算法,给出了具体的算法步骤
标签: 蚁群算法
上传时间: 2015-10-28
上传用户:q123321
旅行商问题 某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。 例如:给定4个城市{1,2,3,4}及其各城市之间的路程 最优路线是1,3,2,4,1, 其最短路程是25
上传时间: 2013-11-27
上传用户:wsf950131
java 数据库 功能强大 效率高 SmallSQL Database is a free DBMS library for the Java(tm) platform. It runs on the Java 2 Platform (JDK 1.4 or later) and implements the JDBC 3.0 API. SmallSQL Database is licensed under the terms of the GNU Lesser General Public Licence (LGPL). A copy of the licence is included in the distribution. Please note that SmallSQL Database is distributed WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please refer to the licence for details.
标签: SmallSQL Database platform library
上传时间: 2013-12-19
上传用户:yyyyyyyyyy
ISO7816标准1,2,3,4,10部分
上传时间: 2015-12-26
上传用户:lanjisu111
To estimate the input-output mapping with inputs x % and outputs y generated by the following nonlinear, % nonstationary state space model: % x(t+1) = 0.5x(t) + [25x(t)]/[(1+x(t))^(2)] % + 8cos(1.2t) + process noise % y(t) = x(t)^(2) / 20 + 6 squareWave(0.05(t-1)) + 3 % + time varying measurement noise % using a multi-layer perceptron (MLP) and both the EKF and % the hybrid importance-samping resampling (SIR) algorithm.
标签: input-output the generated following
上传时间: 2014-01-05
上传用户:royzhangsz
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
使用时打开此例题目录下pic中的图片,然后依次单击按钮“转”、“1”、“2”、“3”、“4”和“5”,就可以实现精确的车牌定位。
上传时间: 2014-07-05
上传用户:love_stanford
VB串口实例导航 1. 如果是在Win98操作系统下,程序中又调用ADO时,VB打开实例项目可能会提示不认ADO对象,这时需要您安装ADO。 2. 对于第2章和第4章,请将winio.dll、winio.vxd和winio.sys文件复制到可执行文件所在目录下, 否则可能会发生找不到Dll的错误。
上传时间: 2013-12-29
上传用户:古谷仁美
本点阵电子显示屏系统以STC89C52单片机作为控制核心,其外围电路包括存储器扩展模块、LED显示电路模块、驱动电路模块、PC通信电路模块。其中,控制芯片的行驱动用2个74LS138构成4-16译码器,采用1/16扫描方式。列驱动采用74HC595驱动,一个汉字用2个74HC595控制。系统同时扩展了SRAM芯片6116和Flash ROM 29C020芯片, 系统控制过程中,可以满足大容量字模的运算,采用Flash ROM进行汉字掉电保护,通过单片机修改显示内容。并详细介绍了在硬件和软件上的实现过程。 本设计中第二章讲述系统方案的设计与分析;第三章讲述LED点阵显示系统的核心硬件设计,主要包括控制芯片、显示电路和驱动电路的设计等;第四章详细介绍了系统核心软件——静态显示程序的设计过程,之后以左移显示程序为例介绍动态显示程序的设计以及主程序的设计;第五章对PC通信协议及软硬件设计予以详细介绍。 如需详细的硬件电路及说明,可以与作者联系!
上传时间: 2014-06-24
上传用户:lyy1234