#28: 這裡有答案


[email protected] (齊天大聖)

學校 : 不指定學校
編號 : 57
來源 : [172.70.207.66]
最後登入時間 :
2025-11-19 02:49:10
b114. 所有位數和 -- Green Judge | From: [162.158.243.157] | 發表日期 : 2025-11-22 01:55

n = int(input())
s = 0
while n > 0:
    s = s * 10 + n % 10   
    n = n // 10           
print(s)

 
ZeroJudge Forum