文件名称:black-hole
介绍说明--下载内容均来自于网络,请自行研究使用
“黑洞数又称陷阱数,是类具有奇特转换特性的整数。 任何一个数字不全相同整数,经有限“重排求差”操作,总会得某一个或一些数,这些数即为黑洞数。"重排求差"操作即把组成该数的数字重排后得到的最大数减去重排后得到的最小数。"
经过用LCC-WIN32的不断调试,终于把程序写出来了;不怎么好 还用了goto ,请大家多多提意见。源程序打包在此-"Black hole number, also known as trap number, the class has a peculiar characteristic of conversion integer number of the same failure of any integer, the limited" rearrangement poor demand "operation, will always have one or some few of these numbers is the number of black holes. "rearrangement poor demand" operation that is composed of the number of rearrangement of the number obtained by subtracting the maximum number obtained after rearrangement of the minimum number. "
After continuous use of LCC-WIN32 debug, and finally write out the program not very good also with a goto, please speak up more. Source code packaged in this
经过用LCC-WIN32的不断调试,终于把程序写出来了;不怎么好 还用了goto ,请大家多多提意见。源程序打包在此-"Black hole number, also known as trap number, the class has a peculiar characteristic of conversion integer number of the same failure of any integer, the limited" rearrangement poor demand "operation, will always have one or some few of these numbers is the number of black holes. "rearrangement poor demand" operation that is composed of the number of rearrangement of the number obtained by subtracting the maximum number obtained after rearrangement of the minimum number. "
After continuous use of LCC-WIN32 debug, and finally write out the program not very good also with a goto, please speak up more. Source code packaged in this
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1-7-冥冥之中 黑洞数.c
dz.exe
dz.exe