1. 首页
  2. 编程语言
  3. C
  4. 0N中1的数目

0N中1的数目

上传者: 2019-01-13 03:51:46上传 TXT文件 5.58KB 热度 51次
Consider a function which, for a given whole number n, returns the number of ones required when writing out all numbers between 0 and n. For example, f(13)=6. Notice that f(1)=1. What is the next largest n such that f(n)=n?
用户评论