搜索资源列表
正方形拆分
- 给定一个矩形,把这个矩形拆分成若干个正方形,这些正方形的边长相同,问怎样拆分,正方形的边长是最大的,并把这个边长输出来。-given a rectangular, the rectangular split into a number of square, the square-the same side, asking how separation of the square is the largest side length,
正方形 深度优先搜索
- 深度优先搜索 用木棒拼正方形
木棒正方形问题
- 有一些小木棒,请问能否用这些木棒拼出一个正方形?
OpenGL采用glut库实现绘制正方形
- OpenGL采用glut库实现绘制正方形
b~a~hh
- 由n2个方块排成n行n列的正方形称为“n元棋盘”。如果两个皇后位于n元棋盘上的同一行或同一列或同一对角线上,则称它们为互相攻击。要求输出使n无棋盘上的n个皇后互不攻击的所有布局。 具体要求如下; (1)n可由键盘输入。 (2)在输入n后,动态建立方法说明中所需要建立的数组空间;程序运行结束时释放该存储空间。 (3)分别用n=4,5,6运行你的程序。-by n2-n squares formed n trip out of a squar
正方形拆分
- 给定一个矩形,把这个矩形拆分成若干个正方形,这些正方形的边长相同,问怎样拆分,正方形的边长是最大的,并把这个边长输出来。-given a rectangular, the rectangular split into a number of square, the square-the same side, asking how separation of the square is the largest side length,
42716023
- 计算机图形学作业,一个正方形绕圆转动并自转-computer graphics operation, a rotating circle around the square and rotation
第一次实验报告(数正方)
- 设有n*m个方格的棋盘(1<=m,n<=100),求出该棋盘中包含多少个正方形、多少个长方形(不包括正方形)。 例如:当n=3,m=2 时 正方形的个数有8个;即边长为1的正方形有6个;边长为2的正方形有2个。 -with n* m box at the chessboard (1LT; = M, 4; = 100), obtained the chessboard includes the number
le3
- 应用VC++6.0编写的绘制彩色的三角形和正方形小程序源代码-application prepared by the color rendering of small triangular and square source code
turbo_c
- 数独的规则是: 1. 直行, 横行只能有1~9且不能重复 2. 9个小正方形里也只能有1~9且不能重复. 当使用者输入的资料量过小时, 代表你的程式必须处理大量的运算, 如果不用点聪明的方法(e.g. 只用一个一个试的排列法的话), 程式可能会要执行好几个小时. 数独盘是9x9=81, 要是使用者一开始只给10个数字, 那程式就要解出71格. 如果程式的起始格不好, 那worst case将会是近似(9!*9
vcmagic
- 申明:本文讨论的是立方体魔方,且暂不考虑小立方块的方向。 我们知道魔方其实是一个大的立方体,包含了26个小立方块,但是,在建模的时候,我们可以用6个面和每个面上9个均匀排列、初始状态下颜色相同(称为面色,但各个面色互不相同)的小正方形来代替26个小立方块。这是因为每个小立方块无论什么时候都是只有特定的一个面(朝外)可见,这个面就作为我们建模时的小正方形。 -stated : This paper discusses the cu
fill_4
- 用种子填充算法,对一个正方形进行填充,并对算法进行一点优化,提高填充的效率.-algorithm filled with seeds, a pair of square for filling, as well as optimization algorithms 1:00, Filled improve efficiency.
J3D
- 用java做的一个立体正方形!可以通过键盘或鼠标实现左右上下移动;放大或缩小: .doc 里面有运行通过的源码和截图~-done with a three-dimensional square! Through the keyboard or mouse up and down about achieving; To zoom in and out : . doc inside running through the source
lxta
- 螺旋图案源代码,用tc编写,由16个正方形方块拼接而成的16个相似方块。-spiral logo source code, using tc prepared by the 16 square box stitching from the 16 similar box.
511
- 矩阵中的每一个元素称为像元、像素或图像元素。而g(i, j)代表(i, j)点的灰度值,即亮度值。 由于g (i, j)代表该点图像的光强度(亮度),而光是能量的一种形式,故g (i, j)必须大于零,且为有限值,即: 0<=g (i, j)<2n。 用g (i, j)的数值来表示(i, j)位置点上灰度级值的大小,即只反映了黑白灰度的关系。 数字化采样一般是按正方形点阵取样的, -each of the matrix e
cyuyanshixianbashuma
- 所谓八数码问题是指这样一种游戏:将分别标有数字1,2,3,…,8的八块正方形数码牌任意地放在一块3×3的数码盘上。-Eight so-called digital problem is that such a game: will be marked with the number 1,2,3, ..., 8 of 8 square digital licensing arbitrarily placed on a 3 × 3 of t
Block
- OPENGL 源代码 正方形 旋转哦啊-OPENGL source code rotating square Oh ah
shape
- 以shape作为基类,其他类由shape派生出来,求三角形、矩形、正方形、梯形的周长和面积。(The perimeter and area of the triangle, rectangle, square and trapezoid are derived.)
mfc
- 随机大小的正方形 可大可小 位置方向键控制()
fill
- 运用有效边表法的填充方式,实现正方形的四色填充(Four color filling of square is realized by using the filling method of effective side table method)