搜索资源列表
200661131050069
- 选择排序是一种比较优化的排序,它定义的k意义在于表示一次循环后找到的最小(大)值的位置,然后让第i个(第几次循环就是第几个)植交换,这样在第一轮循环中就把最小(大)的值换到了最前面,如果只用i,j 的话,就没有办法找出待排序数据中的最值了 比较排序也叫冒泡排序,就是把相邻的数据比较交换,因为其把小的数字从后面往前慢慢移动,感觉象水泡上升一样,所以叫冒泡排序法. 如过你还没理解,留言~-SELECTION SORT is a more optimal sequencing, its def
E12_0230
- 约瑟夫环 1. 本演示程序利用一循环链表,每个结点为一人,类似将人按顺时针方向围坐一圈,每个结点包括,号码,密码.号码是作为排的顺序.密码用来作为下一次报数的数字.当走到结尾时,再下个结点便循环回去,依此类推. 2. 演示程序以用户与计算机的对话方式执行,用户输入相应的数据,输出结果显示在其后。,即总结点数,和密码. 3. 程序执行的命令包括:1)创建链表 2)寻找结点 3)删除结点 4. 测试数据测试数据:m初始值20,n=7,7个人密码依次为:3,1,7,2,4,8,4。首先
xufunction
- 写一个程序,定义抽象基类shape, 由它派生3个基类,Circle(圆),Rectangle(矩形),Trapezoid(梯形)。用虚函数分别计算几种图形的面积,并求他们的和。要求:用基类指针数组,使它的每一个元素指向一个派生类对象-Write a program that defines an abstract base class shape, it is derived from the three basic classes, Circle (round), Rectangle (re
c
- 1写一个函数,求一个字符串的长度,在main函数中输入字符串,并输出其长度。 2有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出圈子,问最后留下的是原来第几号的那位。 3编写input()和output()函数输入,输出5个学生的数据记录。 4反向输出一个链表。 5找到年龄最大的人,并输出。-1 to write a function, and the length of a string, in the main function in the
yuan
- //下面是画圆的程序, //画线、画圆、画各种曲线其实都很简单,归根到底就是x、y的二元方程嘛 //对算法感兴趣的话建议去找本《计算机图形学》看看,不是卖关子哦。实在是几句话说不清除,呵呵 // ---------------------------------------------- //字节 void circleDot(unsigned char x,unsigned char y,char xx,char yy)//内部函数,对称法画圆的8个镜像
FindCircles
- opencv find circle source code
circle
- This program uses principle of the Image Processing to find center of circles.
Circle
- find the circle radius java application
Intersection_of_lines_and_circles
- This code can find intersection of line and circle, line and line, circle and circle
Geometry_Calculator
- Calculate the Area of a circle, triangle, trapazoid, parallelagram, rectangle, square, find the volume of a cylinder, cubes and more
PointCenter
- 知道圆上两点A(x1,y1),B(x2,y2)和半径r,求出圆心坐标-Know the circle two points A (x1, y1), B (x2, y2) and radius r, find the center of a circle coordinates
ysf
- 编号1,2,┉,n的n个人按顺时针方向围坐一圈,每个人持有一个密码(正整数),一开始,任选一个正整数作为报数上线值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1开始报数,如此下去,直至所有人全部出列为止。设计一个程序求出出列顺序。-No. 1,2, ┉, n, n individuals sitting clockwise circle, each person holds a password (
a
- 排序系统设计 功能:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列。 -Sorting system design features: Let numbered 1,2,3, .
min-circle
- 最小圆:实现求出点集的最小覆盖圆,此代码经调试后没有错误-The smallest circle: find the point set minimum coverage round, this code by debugging errors
circle
- 这是我为我孩子写的程序,输入园 的半径,求出周长和面积-this program is for my children,insert radius the program will find the c and s of circle
find-the-height-and-width-of-the-circle
- apply the geometry formula and find the diameter of the cricle
HW7
- Sobel側邊、尋圓、細線化 並尋找圓的半徑值-Sobel edge detect,find circle,thin
find-circle
- HALCON 找圆工具开发 找到所有的圆
find+circle
- 找出一个圆的中心点或多个圆的中心。。。。(Find the center of a circle or the center of multiple circles...)
area of circle
- a program to find the area of circle
