Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
2314 阿** 满足条件的数的累加3 Python3 通过 34 MS 3380 KB 159 2023-12-08 11:13:20

Tests(5/5):


n, k = map(int, input().split()) nums = list(map(int, input().split())) sum = 0 for num in nums: if num // 10 == k: sum += num print(sum)


测评信息: