小黄 • 10小时前
using namespace std; int main() {
int a; cin >> a; int e = a % 10; int d = a % 100 / 10; int c = a / 100 % 10; int b = a / 1000 % 10; int f = a / 10000; cout << b + c + d + e + f; return 0;
}
评论:
请先登录,才能进行评论