题解 | #[NOIP2013]记数问题#

[NOIP2013]记数问题

http://www.nowcoder.com/practice/28b2d9f2bf2c48de94a1297ed90e1732

a, b = map(int, input().split()) b, count_a = str(b), 0 for i in range(1, a + 1): i = str(i) if b in i: c = i.count(b) count_a += c print(count_a)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务