Run ID:81030
提交时间:2024-07-12 09:00:12
#include<iostream> using namespace std; int main(){ int a,b,c,d; cin>>a;; b = a/100; c = (a-b*100)/10; d = a%10; cout<<b+c+d; return 0; }