5 条题解
- 1
信息
- ID
- 713
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 1
- 标签
- 递交数
- 211
- 已通过
- 155
- 上传者
#include <iostream>//hetao3097453
using namespace std;
int main()
{
int n;
cin >> n;
int a = n / 100;
int b = n / 10 % 10;
int c = n % 10;
int d = a + b + c;
cout << d << endl;
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int n;
int main()
{
cin >> n;
cout << n / 100 + n / 10 % 10 + n % 10;
return 0;
}
请输入六位数密码()()()()()(),(输入完发题解,输入密码请回复)
只因你太美!五个!
大母鸡小母鸡,梁志超骂我大傻*
红烧大鼻嘎,清炖脚趾头。
五香麻辣屁,爆炒小鸡鸡!