新手题解

新手题解

小戴呀 · 发布于 2023-08-23 · 浏览 71 回复 0

include <bits/stdc++.h>

using namespace std;

int main() {

int a,b,c,d,e;
cin >>a;
b=a/100;
c=a%100/10;
d=a%100%10;
e=b+c+d;
cout <<e;
return 0;

}

全部回复 共 0 条

还没有人回复。往下写第一条。

发表回复