文件名称:1
- 所属分类:
- Windows编程
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- yuecu*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
问题描述:
一本书的页码从自然数1 开始顺序编码直到自然数n。书的页码按照通常的习惯编排,每个页码都不含多余的前导数字0。例如,第6 页用数字6 表示,而不是06 或006 等。数字计数问题要求对给定书的总页码n,计算出书的全部页码中分别用到多少次数字0,1,2,…,9。
编程任务:
给定表示书的总页码的10 进制整数n (-Descr iption of the problem: the page of a book from the natural number 1 until the beginning of coding sequence of natural number n. Book in accordance with the usual habits of page layout, each page are the leading non-redundant number of 0. For example, on page 6 with the number 6 that, rather than 06 or 006 and so on. Count the number of problem calls for a given book' s total page number n, to calculate the total number of books used, respectively, the number of times the number 0,1,2, ..., 9. Programming tasks: Given that the book' s total page 10 hexadecimal integer n (
一本书的页码从自然数1 开始顺序编码直到自然数n。书的页码按照通常的习惯编排,每个页码都不含多余的前导数字0。例如,第6 页用数字6 表示,而不是06 或006 等。数字计数问题要求对给定书的总页码n,计算出书的全部页码中分别用到多少次数字0,1,2,…,9。
编程任务:
给定表示书的总页码的10 进制整数n (-Descr iption of the problem: the page of a book from the natural number 1 until the beginning of coding sequence of natural number n. Book in accordance with the usual habits of page layout, each page are the leading non-redundant number of 0. For example, on page 6 with the number 6 that, rather than 06 or 006 and so on. Count the number of problem calls for a given book' s total page number n, to calculate the total number of books used, respectively, the number of times the number 0,1,2, ..., 9. Programming tasks: Given that the book' s total page 10 hexadecimal integer n (
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.txt