Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
238 阿** 数1的个数 Python3 通过 39 MS 4092 KB 120 2023-11-10 09:32:28

Tests(5/5):


a=int(input("")) def count_ones(a): return ''.join(str(i) for i in range(1, a+1)).count('1') print(count_ones(a))


测评信息: