提交时间:2024-01-22 17:29:59

运行 ID: 123223

#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; int x=a%10; int y=a/10%10; int z=a/100; cout<<x+y+z; return 0; }