搜索资源列表
03.rar
- 给定n个大小不等的圆c1,c2,c3,...,cn,现要将这n个圆排进一个矩形框中,且要求各圆与矩形框的底边相切。圆排列问题要求从n个圆的所有排列中找出有最小长度的圆排列。编程任务:对于给定的n个圆,设计算法,计算n个圆的最佳排列方案,使其长度达到最小。 输入:第一行有1个正整数n (圆的个数1≤n≤20) 接下来的1行有n个数,表示n个圆的半径 输出:将计算出的最小圆排列的长度(保留2位小数) 例如: 输入: 3 1 1 2 输出: 7.66 ,Given n-si
witkey
- 实验内容 ① 直线和圆的生成,设定屏幕图形工作方式,彩色象素的读写,直线和圆的扫描转换。 ② 多边形的裁剪和填充 ③ 图形变换:二维变换、及投影、透视变换 -Experimental content ① generate a straight line and circle, set the screen graphics work, read and write color pixel, a straight line and circle scan conversion. P
3
- 心形线,是一个圆上的固定一点在它绕着与其相切且半径相同的另外一个圆周滚动时所形成的轨迹,该程序可以动态的演示心形线的生成过程,-Heart-shaped line, is a fixed point circle around it with its tangent and the radius of a circle the same rolling track being formed, the program can be a demonstration of the dynamic he
Internship1
- 薛超英数据结构实习一答案 设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。 问题是:对于任意给定的n个人的原始排列顺序,求出n个人的出列顺序。 输入数据从文本文件“实习1数据.txt”中读取。该文件有两行:第1行只有一个整数,表示报数的起始位置;第2行
vga
- 在显示器上画虚线方框和虚线圆,并且方框和圆都能扩大、缩小。-Dashed line painted on the display boxes and dotted circle, and the boxes and circle can expand and narrow
Program
- this are graphics line and circle drawing algorithm implemented in c or c-this are graphics line and circle drawing algorithm implemented in c or c++
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 (
NLOS
- 蜂窝网络抑制非视距定位算法研究.详细介绍了几种基本的定位方法:圆周定位法(TOA, Time Of Arrival)、双曲线定位法(TDOA, Time Different Of Arrival)、角度测量值定位法(AOA, Angle Of Arrival)和混合定位法,并对这些方法进行了比较。 -Cellular networks inhibit non-line-location algorithms. Details the positioning of several basic
Graph
- 图形编辑器用VC6.0中的MFC实现简单的图形编辑,包括画圆、画直线、画矩形等。-Used for VC6.0 graphics editor in MFC to achieve a simple graphics editor, including the Circle, painting a straight line and draw a rectangle and so on.
BaoShu
- 报数游戏:设有N个人围坐一圈并按顺时针方向从1到N编号,从第S个人开始进行1到M报数,报数到第M个人时,此人出圈,再从他的下一个人重新开始1到M的报数,如此进行下去直到所有的人都出圈为止。现要打印出出圈次序。-Reported that the number of games: with N individuals sitting around a circle clockwise according to numbers from 1 to N, start from S 1 to M ind
2
- 用VS2010开发的一个C++程序,包含点、直线、圆类以及管理视图的实体管理类,实现了实体的增加、删除、修改和显示、以及查看包围盒中的实体-VS2010 development of a C++ program that contains entities of point, line, circle class and view management class, the increase of the entity, delete, modify, and show, as well as
picture
- vs2010下编译的画图程序,适合初学者,实现直线折线圆五角星线宽,颜色设置-Paint program compiled under vs2010, suitable for beginners, straight line broken line circle pentacle line width, and color settings
joseph
- 约瑟夫环(Joseph)问题的一种描述是:编号为1、2、3……n的n个人按照顺时针方向围坐一圈,没人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按照顺时针的方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。-Josephus (Joseph) a descr iption of the problem is: No. 1, 2,
forx
- 一些间单的功能 画直线 圆 多边形 签笔 颜色 保存和打开.-Function draw a straight line between single circle polygon signed pen color save and open.
xiaocai
- Joseph环 编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个仍开始顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 设计要求: 设计一个程序,以人机交互的方式执行,用户指定约瑟夫环游戏的总人数n和初始的报数上限m,然后输入每个人所持有的密码key。模拟约瑟
yuesefuhuan
- 约瑟夫(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。 【基本要求】 利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。 -Joseph (Joseph) a d
yuanhexiangduandejiaodian
- 根据输入的线段端点坐标和圆心的坐标半径 求线段与圆的交点-Find the intersection of line and circle line endpoint coordinates based on the input of the coordinates of the center and the radius
draw
- 一个涂鸦小程序,实现了直线,圆圈,方形,各种颜色,各种粗细以及按住ctrl画正圆等功能。-Graffiti a small program to achieve a straight line, a circle, a square, a variety of colors, a variety of thickness and hold down ctrl draw a perfect circle, and other functions.
FPGA程序
- 实现了光栅的四细分 辨向 计数 还可以测量点线圆等多功能 二维测量系统(Four subdivision and counting of the grating are realized, and a multifunctional two-dimensional measuring system, such as dot, line and circle, can also be measured)
J1401160338~王利吉 几何变换 图形学
- 使用mfc编写的计算机图形学实现画直线画圆画椭圆,二维三维几何变换代码(Using computer graphics compiled by MFC to realize drawing straight line, drawing circle and ellipse, two-dimensional and three-dimensional geometric transformation code)
