阅读背景:

浙大pat | 牛客网甲级 1038 Counting Ones (30)数论题

来源:互联网 

题目描述

The task is simple: given any positive integer N, you aresupposed to count the total number of 1's in the decimal form of the integersfrom 1 to N.  For example, given N being12, there are five 1's in 1, 10, 11, and 12.The task is simple: given any positi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: