Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94161 丁俊杰 各个位数之和 Python3 Accepted 36 MS 3744 KB 72 2024-10-19 20:14:10

Tests(5/5):


Code:

n=int(input()) res=0 for i in str(n): res+=int(i) print(res)