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

Tests(5/5):


Code:

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