搜索资源列表
array2_T
- 一个二维数组,模板写的,内存连续,可以通过计算内存得到正确的数据,元素类型为T-a two-dimensional array, templates written in the continuous memory, memory can be correctly calculated data, elements of type T
cpplapack-2005_03_25.tar
- lapack的c++版本之一.lapack是imsl,mkl,matlab等大部分数值计算的使用者.最早是for77的,后来出现c++,java等的.-lapack one of the c version. Lapack is imsl, mkl. Matlab, and most numerical calculation users. The first was for77, subsequently c, java and so on.
Sudoku
- 这时一个计算数独游戏的console程序。使用搜索算法剪枝中最为强大的dance link(可参考knuth论文),并用STL-set优美实现。
几何问题
- 试用C++的类来定义表示简单平面几何对象的抽象数据类型Geometry。 (1) 用浮点数定义2 个几何量m1 和m2;m2 的缺省值为0.0000。 (2) 实现2 个构造函数:允许用1个参数或2 个参数声明几何对象。用1 个参数r声明的 几何对象为半径为r 的圆;用2 个参数r1和r2 声明的几何对象为r1磖2 的矩形。所声明的几 何对象的中心在原点。 (3) 定义计算几何对象的面积,周长和对角线长度的成员函数。 (4) 对于给定的实数r,先声明一个半径为r的圆c1;然后声明一个
给定n 位正整数a,去掉其中任意k≤n 个数字后
- 给定n 位正整数a,去掉其中任意k≤n 个数字后,剩下的数字按原次序排列组成一个新的正整数。对于给定的n位正整数a 和正整数k,设计一个算法找出剩下数字组成的新数最小的删数方案。 对于给定的正整数a,编程计算删去k个数字后得到的最小数。 ,Given n-bit positive integer a, which removed any k ≤ n digits, the remaining number of the original order to form a new po
fibonacci
- 该为使用stl处理的fibonacci序列,能够计算 出任意规模下的fibonacci序列-The handle for the use of stl Fibonacci sequence, can be calculated under the arbitrary scale Fibonacci Sequence
castle-pascal
- castle 给出一个城堡的地图,求其中的连通房间数,最大房间的面积,拆除某个墙壁连通两间屋子后可形成的最大房屋面积。应用pascal的递归函数来实现计算功能。-give a castle map of the castle, and one of the connectivity number of rooms, the largest area of the room, the removal of a wall connecting the two rooms can be formed
TestLineDistance
- 计算距离,并显示出来,以供大家参考使用,,自娱自乐写的。做练习用-Calculating the distance, and displayed for all to use and reference, written in fun. Exercises to do with
CodeOfACM
- 对参加ACM竞赛非常有用的几个ACM答题模板(数论,数值计算,NP等等)-ACM to participate in several contests very useful answer ACM template (number theory, numerical calculation, NP, etc.)
ICPC
- ICPC 训练讲义,适合于刚接触ICPC,作培训资料,第一章搜索,第二章STL,第三章计算几何学-ICPC Training Materials
Exercise5
- Dijkstra算法最有路径,可以计算从一个城市到另一个城市的最优路径-Dijkstra algorithm is the best path, can be calculated from one city to another optimal path
stl
- 用于计算矩阵方程的超松弛迭代算法C++程序,-Matrix equation used to calculate the over-relaxation iteration algorithm C++ program
mystl2
- STL的简单应用,读数,方程计算,显示读入的方程、计算结果-simple use of stl
testLine
- 程序利用外接access数据库能计算图的起到到终点的最小时间路径规划,能计算出的路径和时间花费-Map using an external database access computing play to the end of the minimum time path planning algorithm, to calculate the path and time spent
topK
- 计算topk 数组的最小的k个数,已经使用stl nth_element-calculat the topl