CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序

文件名称:pro9

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2014-04-26
  • 文件大小:
    183kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

如果一个数从左往右读和从右往左读都是一样,那么这个数就叫做“回文数”。例如,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/
pro9/bin/
pro9/bin/Debug/
pro9/bin/Debug/pro9.exe
pro9/dual.out.txt
pro9/dualpal.in.txt
pro9/dualpal.out.txt
pro9/main.cpp
pro9/main.zip
pro9/obj/
pro9/obj/Debug/
pro9/obj/Debug/main.o
pro9/pro9.cbp
pro9/pro9.depend
pro9/pro9.layout
pro9/pro9.workspace

相关说明

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

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com