搜索资源列表
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
circle
- This program uses principle of the Image Processing to find center of circles.
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 (
22
- 2、 编写一个程序计算出球、圆柱和圆锥的表面积和体积。 a) 要求: i. 定义一个基类圆,至少含有一个数据成员半径; ii. 定义基类的派生类球、圆柱、圆锥,都含有求表面积和体积的成员函数和输出函数。 iii. 定义主函数,求球、圆柱、圆锥的和体积。 -2, write a program to calculate the ball, cylindrical and conical surface area and volume. a) asked: i. defining
23
- 设n个人坐成一圈,按顺时针编号。从编号1开始报数,报数到m时,此人出圈。在从他的下一个人开始从1到m报数进行下去,知道所有的人都出圈为止。求出出圈的次序表-Let n individual sitting in a circle, clockwise number. Report from the number 1 number, the number reported to m, this person out of laps. In the next person from his m ou
square
- 求圆的面积,线的面积,线的长度。功能实现的不是很多,只是一个小程序。-Find area of a circle, line, area, line length.
Exercise5.5
- 1.已经4个字符串,编程输出它们中最小的一个 2.将一个长度为n的字符串,编程实现其逆序输出 3.已知一个二维int型数组,编程求出它的最小的元素值 4.已知字符型指针数组中存放若干个字符串,编程从键盘上修改其中某个字符串 5.有n个小孩排成一圈,从第一个小孩开始作1到3的报数,凡报数为3的小孩从圈中出来,求最后出圈的小孩的顺序号是多少? -1 has four strings, programmed output the smallest of them A
matlab-minutae-extraction
- 找指紋特徵點 並圈選出來的 matlab 程序-Matlab program to find the fingerprint feature points and circle out
Rabbit
- 围绕着山顶有10个圆形排列的洞,狐狸要吃兔子,兔子说:“可以,但必须先找到我,我就藏身于这十个洞中的某个洞。你从第1个洞找,下次隔1个洞(即2号洞)找,第三次隔2个洞(即5号洞)找,再隔3个…以后在这个圆圈中如此类推,次数不限。”但狐狸从早到晚进进出出了1000次,仍没有找到兔子。 问兔子究竟藏在几号洞里?-Around the Peak 10 of the circular arrangement of holes, the fox eat the rabbit, the rabbit s
point_circle
- 圆类,由圆心、半径组成,有取半径、取圆心、求圆面积的方法。-Round class from the center of the circle, the radius composed of a radius, take the center of the circle, find the area of a circle.
macro
- 要么求圆的面积,要么求正方形的面积,通过类似开关来控制-Either seek the area of a circle, or to find the area of a square, through the similar switches to control
hamilton
- 贪心算法和回溯寻找近似最短哈密顿回路,得到近似最短回路-find the shortest hamilton circle path
Joseph
- 解决约瑟夫问题的一个小程序。一群猴子围成一个圈,从其中一个猴子开始报数,先规定一个数,数到这个数的猴子出列,下一个猴子继续报数,数到这个数的猴子就出列,直到全部猴子都出列为止,求猴子出列的顺序。-Joseph problems to solve a small program. A group of monkeys in a circle, from one of the monkeys reported the number of first specify a number, the num
bit-yuanpailie
- 给定n个大小不等的圆c , c , , cn 1 2 ,现要将这n个圆排进一个矩形框中,且要求各圆与矩形框的底边相切。圆排列问题要求从n个圆的所有排列中找出有最小长度的圆排列。例如,当n=3,且所给的3 个圆的半径分别为1,1,2时,这3个圆的最小长度的圆排列如图所示。其最小长度为2 + 4 2 。-Given n circles of varying sizes c, c,, cn 1 2 , now to the n rows into a round rec
1_Josephus
- Josephus环问题:n个人围成一圈,编号从1到n,报数1,2,3,从编号为1的人开始报数,报到3的离开,下面的人接着从1开始报数,依次下去,写程序求最后剩下来的一个人编号是几。-Josephus ring problem: n personal circle, numbered from 1 to n, the number of reported 1,2,3, from the number 1 people began to count off, report three to leav
yuanhexiangduandejiaodian
- 根据输入的线段端点坐标和圆心的坐标半径 求线段与圆的交点-Find the intersection of line and circle line endpoint coordinates based on the input of the coordinates of the center and the radius
HW7
- Sobel側邊、尋圓、細線化 並尋找圓的半徑值-Sobel edge detect,find circle,thin
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
