文件名称:FiveNum
-
所属分类:
- 标签属性:
- 上传时间:2013-04-22
-
文件大小:938byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
任意一个5位数,比如:34256,把它的各位数字打乱,重新排列,可以得到一个最大的数:65432,一个最小的数23456。求这两个数字的差,得:41976,把这个数字再次重复上述过程(如果不足5位,则前边补0)。如此往复,数字会落入某个循环圈(称为数字黑洞)。
比如,刚才的数字会落入:[82962, 75933, 63954, 61974] 这个循环圈。-Any one of 5 digits, for example: 34256, put it in the number you are upset, rearrange, can get a maximum number: 65432, a minimum number of 23456. The sum of the two numbers, have: 41976, put the digital repeat the above process (if less than 5, the front 0). So back and forth, digital will fall into a circle (called digital black hole).
For example, just numbers will fall into: [82962, 75933, 63954, the 61974] cycle.
比如,刚才的数字会落入:[82962, 75933, 63954, 61974] 这个循环圈。-Any one of 5 digits, for example: 34256, put it in the number you are upset, rearrange, can get a maximum number: 65432, a minimum number of 23456. The sum of the two numbers, have: 41976, put the digital repeat the above process (if less than 5, the front 0). So back and forth, digital will fall into a circle (called digital black hole).
For example, just numbers will fall into: [82962, 75933, 63954, the 61974] cycle.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FiveNum.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.