Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
242 郭** 数1的个数 Python3 通过 32 MS 3368 KB 106 2023-11-10 09:43:32

Tests(5/5):


n = int(input()) count = 0 for i in range(1, n+1): count += str(i).count('1') print(count)


测评信息: