棋盘填数问题 在N*N的棋盘上(1<=N<=10)请填入1,2,...N2共N2个数,使得任意两个相邻的数之和为素数。 填写的方案如: 在这里我们约定:左上角的格子里必须放数字1。 输出:如有多种解,则输出第一行,第一列之和为最小的排列方案;若无解,则输出“No Answer”
上传时间: 2013-12-11
上传用户:www240697738
旅行家问题 一个旅行家想驾驶汽车以最少的费yi 用从一个城市到另一个城市(假设出发时油箱是空的)。给定两个城市之间的距离为D1、汽车油箱的容量为C(以升为单位),每升汽油能行驶的距离为 D2,出发点每升汽油价格P和沿途油站数N(N可以为零),油站i离出发点距离Di,每升汽油价格Pi(i=1,2...N)。计算结果四舍五入至小数点后两位。 如果无法到达目的地,则输出“No Solution"。
上传时间: 2015-02-14
上传用户:vodssv
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“No!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)
上传时间: 2014-11-22
上传用户:com1com2
啥也不说了,请看代码示例 File : fat_dir.c FS_DIR *FS__fat_opendir(const char *pDirName, FS_DIR *pDir) { FS_size_t len FS_u32 unit FS_u32 dstart ....... FS_u32 dsize FS_i32 i char realname[12] char *filename if (!pDir) { return 0 /* No valid pointer to a FS_DIR structure */ }
标签:
上传时间: 2013-12-14
上传用户:梧桐
Copyright© 2004 Sergiu Dumitriu, Marta Gî rdea, Că tă lin Hriţ cu Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation with No Invariant Sections, No Front-Cover Texts, and No Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License" All brand names, product names, or trademarks belong to their respective holders.
标签: Permission Copyright 259 Dumitriu
上传时间: 2015-04-02
上传用户:jackgao
JILRuntime A general purpose, register based virtual machine (VM) that supports object-oriented features, reference counting (auto destruction of data as soon as it is No longer used, No garbage collection), exceptions (handled in C/C++ or virtual machine code) and other debugging features. Objects and functions can be written in virtual machine code, as well as in C or C++, or any other language that can interface to C object code. The VM is written for maximum performance and thus is probably Not suitable for embedded systems where a small memory footprint is required. Possible uses of the VM are in game development, scientific research, or to provide a stand-alone, general purpose programming environment.
标签: object-oriented JILRuntime register supports
上传时间: 2013-12-23
上传用户:cc1015285075
This toolbox distributes processes over matlab workers available over the intranet/internet (SPMD or MPMD parallel model). It is very useful for corsely granular parallelization problems and in the precesence of a distributed and heterogeneus computer enviroment. No need for configuration files ! Cross platforms, cross OS and cross MATLAB versions. Workers can be added to the parallel computation even if it has started. No need of a common file system, all comms are using tcpip connections
标签: over distributes available processes
上传时间: 2014-01-03
上传用户:希酱大魔王
DNotes For Delphi/C++Builder is a suite of VCL Components and a Class Library for accessing Lotus Notes 4.x databases & servers.
标签: Components accessing Builder Library
上传时间: 2015-04-05
上传用户:2525775
PolyNomial fit functions === === === === RegressioNobject.cls contains a class that provides an easy way to add polyNomial regression functionality to any application. If you just want linear regression or a very high degree, No matter: this class has good performance and scales seamlessly with the complexity of your problem.
标签: RegressioNobject PolyNomial functions contains
上传时间: 2015-04-06
上传用户:rocwangdp
Description: FASBIR(Filtered Attribute Subspace based Bagging with Injected Randomness) is a variant of Bagging algorithm, whose purpose is to improve accuracy of local learners, such as kNN, through multi-model perturbing ensemble. Reference: Z.-H. Zhou and Y. Yu. Ensembling local learners through multimodal perturbation. IEEE Transactions on Systems, Man, and Cybernetics - Part B: Cybernetics, 2005, vol.35, No.4, pp.725-735.
标签: Description Randomness Attribute Filtered
上传时间: 2015-04-10
上传用户:ynzfm