Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131951 叶航帅 05求百位数的每一位数之和 Python3 Accepted 60 MS 3772 KB 154 2025-10-02 09:58:16

Tests(10/10):


Code:

# n = int(input()) # a = n // 100 # b = n // 10 % 10 # c = n % 10 # print(a+b+ n = input() a = int(n[0]) b = int(n[1]) c = int(n[2]) print(a+b+c)