文件名称:pro9

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2014-04-26
  • 文件大小:
  • 183kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。

介绍说明--下载内容均来自于网络,请自行研究使用

如果一个数从左往右读和从右往左读都是一样,那么这个数就叫做“回文数”。例如,12321就是一个回文数,而77778就不是。当然,回文数的首和尾都应是非零的,因此0220就不是回文数。

事实上,有一些数(如21),在十进制时不是回文数,但在其它进制(如二进制时为10101)时就是回文数。

编一个程序,从文件读入两个十进制数N (1 <= N <= 15)S (0 < S < 10000)然后找出前N个满足大于S且在两种或两种以上进制(二进制至十进制)上是回文数的十进制数,输出到文件上。-If a number is read from left to right and right to left reading are the same, then this number is called the " palindrome." For example, the 12321 is a palindrome, while 77778 is not. Of course, the first palindrome and tail should be non-zero, so 0220 is not a palindrome. In fact, there are some number (eg 21), when the decimal is not a palindrome, but in the other band (such as binary when 10101) When is a palindrome. Compile a program from a file read two decimal number N (1 < = N < = 15) S (0 < S < 10000) and then meet more than before to find the N and S in two or more hexadecimal ( binary to decimal) numbers on the decimal number is a palindrome, and output to the file.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





pro9

....\bin

....\...\Debug

....\...\.....\pro9.exe

....\dual.out.txt

....\dualpal.in.txt

....\dualpal.out.txt

....\main.cpp

....\main.zip

....\obj

....\...\Debug

....\...\.....\main.o

....\pro9.cbp

....\pro9.depend

....\pro9.layout

....\pro9.workspace

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org