文件名称:017
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:163.41kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写程序验证6174猜想,要求使用函数。6174猜想的内容大致为:任意一个大于1000的4位数,若每位不全部相等,经过最多7次K变换可以变为6174。K变换是把4位数从大到小重新排列减去从小到大重新排列并求值。如:4948
1: 9844 - 4489 = 5355
2: 5553 - 3555 = 1998
3: 9981 - 1899 = 8082
4: 8820 - 288 = 8532
5: 8532 - 2358 = 6174-Write a program 6174 conjecture, validation request use function. The content of 6174 guess roughly include: any more than 1,000 4 digits, if each not all equal, after seven times most commutation can become 6174 K. K transform is sending four digits from large to small rearrange minus childhood rearrange and evaluated. Such as: 4948
1:9844-4489 = 5355
2: 5553- 3555 = 1998
3: 9981- 1899 = 8082
4: 8820- 288 = 8532
5: 8532- 2358 = 6174
1: 9844 - 4489 = 5355
2: 5553 - 3555 = 1998
3: 9981 - 1899 = 8082
4: 8820 - 288 = 8532
5: 8532 - 2358 = 6174-Write a program 6174 conjecture, validation request use function. The content of 6174 guess roughly include: any more than 1,000 4 digits, if each not all equal, after seven times most commutation can become 6174 K. K transform is sending four digits from large to small rearrange minus childhood rearrange and evaluated. Such as: 4948
1:9844-4489 = 5355
2: 5553- 3555 = 1998
3: 9981- 1899 = 8082
4: 8820- 288 = 8532
5: 8532- 2358 = 6174
相关搜索: 6174
(系统自动生成,下载前可以参看下载内容)
下载文件列表
017/35.ncb
017/35.plg
017/35.cpp
017/Debug/vc60.idb
017/Debug/vc60.pdb
017/Debug/35.pch
017/Debug/35.ilk
017/Debug/35.exe
017/Debug/35.pdb
017/Debug/35.obj
017/35.dsp
017/35.opt
017/35.dsw
017/Debug
017
017/35.plg
017/35.cpp
017/Debug/vc60.idb
017/Debug/vc60.pdb
017/Debug/35.pch
017/Debug/35.ilk
017/Debug/35.exe
017/Debug/35.pdb
017/Debug/35.obj
017/35.dsp
017/35.opt
017/35.dsw
017/Debug
017
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.