-
1
说明: 奇怪的分式
上小学的时候,小明经常自己发明新算法。一次,老师出的题目是:
1/4 乘以 8/5
小明居然把分子拼接在一起,分母拼接在一起,答案是:18/45 (参见图1.png)
老师刚想批评他,转念一想,这个答案凑巧也对啊,真是见鬼!
对于分子、分母都是 1~9 中的一位数的情况,还有哪些算式可以这样计算呢?
显然,交换分子分母后,例如:4/1 乘以 5/8 是满足要求的,这算做不同的算式。
但对于分子分母相同的情况,2/2 乘以 3/3 这样的类型太多了,不在计数之列!,四个四个数不同
请写出所有不同算式的个数(包括题中举例的)。
思路:循环遍历。
dfs c++(dfs c++)
- 2016-03-21 22:17:14下载
- 积分:1
-
M-Khook
vc++编写的鼠标键盘消息的拦截程序,运用钩子实现(vc++ prepared to intercept mouse messages keyboard procedures, the use of hook realize)
- 2008-04-13 16:41:55下载
- 积分:1
-
quanjingpinjie
说明: 全景图像拼接的源代码,可将多幅照片拼接为周视全景图像,很不错。(Panoramic image mosaic of the source code, multiple photos can be spliced for the week as the panoramic image, very good.)
- 2010-04-08 02:16:23下载
- 积分:1
-
duijiaotouying
对图像的对角线投影,就是沿着对角线进行直方图统计。(Diagonal projection of the image, that is, along the diagonal histogram statistics.)
- 2013-04-01 11:14:50下载
- 积分:1
-
基于BP网络的印刷体数字识别
说明: 基于BP网络的印刷体数字识别技术的完整案例,对图像处理及其BP神经网络付有完整的程序,并可以允许,同时还附有大量的测试图片(Digit recognition technology integrity cases, right image processing and neural network BP to pay the full process and allows, but also with a large number of test pictures)
- 2005-12-31 15:22:27下载
- 积分:1
-
HoughChange
检测图形中的直线,在程序中稍微改动,即可检测多条直线(Detection of graphics in a straight line, a slight change in the procedure, can detect more than a straight line)
- 2007-12-09 14:33:41下载
- 积分:1
-
cv_Camera_cablication
主要功能是实现相机标定,以及实现反投误差,实现特征点的提前。(The main function is to achieve camera calibration and error to achieve the anti-investment, to achieve the feature points in advance.)
- 2014-01-07 15:06:33下载
- 积分:1
-
BmpToRGB16
convert bmp to rgb565(algorithm to handle all kinds of bmp to rgb565)
- 2009-09-16 12:59:03下载
- 积分:1
-
segment
对超声图像的去噪和分割,可以显示肿瘤图像的边缘和面积(For ultrasound image denoising and segmentation, image can show the tumor edge and area)
- 2014-04-17 09:24:47下载
- 积分:1
-
ImageMatch
用visual C++开发的图像匹配与处理系统,包括图像处理与图像匹配算法,NCC,梯度强度相关,互信息匹配等(With visual C++ development of image matching and processing systems, including image processing and image matching algorithm, NCC, gradient strength related mutual information matching)
- 2014-06-02 21:24:17下载
- 积分:1