Run ID:146489

提交时间:2026-01-29 10:38:04

#include<iostream> int n,m; m=0; cin>>n; while(n!=0){ m+=n%10; n/=10; } cout<<m<<endl; return 0; }