- Huffman-tc2 将给定字符构造赫夫曼树然后进行编码并输出
- Contents Contourlet Toolbox (Version 2.0) Demos DECDEMO Demonstrates contourlet decomposition and reconstruction NLADEMO Demo for contourlet nonlinear approximation. NLADEMO2 Nonlinear approximation demo using only the finest scale DENOISEDEMO Denoise demo Main functions: Contourlets pyramidal directional filter bank PDFBDEC Pyramidal Directional Filter Bank (or Contourlet)
- LucasKanade 光流计算程序
- video_cap 一个简单点的视频捕捉VC++实例源代码
- nodehaschildnodesfalse The "hasChildNodes()" method returns false if the node does not have any children.
- waterfall 使用css3多栏布局实现瀑布流的效果
文件名称:mm
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:938byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
若一个数(首位不为零)从左向右读与从右向左读都一样,我们就将其称之为回文数。
例如:给定一个10进制数56,将56加65(即把56从右向左读),得到121是一个回文数。
又如:对于10进制数87:
STEP1:87+78 = 165
STEP2:165+561 = 726
STEP3:726+627 = 1353
STEP4:1353+3531 = 4884
在这里的一步是指进行了一次N进制的加法,上例最少用了4步得到回文数4884。
写一个程序,给定一个N(2<=N<=10或N=16)进制数M,求最少经过几步可以得到回文数。
(十六进制数使用大写ABCDEF)
输入
N M
M的位数小于10-If a number (the first non-zero) reading from left to right and from right to left the same time, we will call it a palindrome. For example: Given a decimal number 10, 56, will be 56 plus 65 (that is, to 56 read from right to left), received 121 is a palindrome. Another example: For the 10 number 87: STEP1: 87+78 = 165 STEP2: 165+561 = 726 STEP3: 726+627 = 1353 STEP4: 1353+3531 = 4884 step here is the band conducted a N in addition, the patients received at least step 4 with the palindrome 4884. Write a program that, given a N (2 < = N < = 10 or N = 16) hexadecimal number M, seeking at least after a few steps can be palindrome. (Hexadecimal number using uppercase ABCDEF) Enter the number of bits is less than 10 NM M output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mm.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。