Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5374 | 谢锦卓 | 06数字拼接 | C++ | Wrong Answer | 0 MS | 260 KB | 264 | 2024-11-14 12:43:34 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int u; cin>>u; int a,b,c; a=u/1%10; b=u/10%10; c=u/100%10; int B; B=a+b+c; cout<<B<<endl; return 0; }
------Input------
5 6 0
------Answer-----
560
------Your output-----
5