棋盤填數問題 在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
安裝方法:打開weather.cgi更改各個項目可以用以下方法調用:演示:http://flyao.com
上傳時間: 2013-12-01
上傳用戶:www240697738
啥也不說了,請看代碼示例 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