Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115423 伍长辉 各个位数之和 Python3 Accepted 34 MS 3760 KB 70 2025-03-30 13:46:15

Tests(5/5):


Code:

a=int(input()) r=0 while a>0: r=r+a%10 a=a//10 print(r)