Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6053 张昊然 【入门】求任意三位数各个数位上数字的和 C++ Accepted 2 MS 744 KB 159 2021-02-11 16:42:01

Tests(10/10):


Code:

#include <iostream> #include <cstdio> using namespace std; int main() { int a, b, c; scanf("%1d%1d%1d", &a, &b, &c); cout << a + b + c; return 0; }