Run ID:112170
提交时间:2025-03-08 16:07:25
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,q,w; cin>>a; q=a/100; w=a/10%10; a=a%10; cout<<a+q+w<<endl; return 0; }