Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126132 | 赵梓渊 | 05求百位数的每一位数之和 | C++ | Compile Error | 0 MS | 0 KB | 197 | 2025-07-16 15:18:40 |
#include <bits/stdc++.h> using namespace std ; int main() { int a,b,c,d,e,; cin >> a;//1234 b=a/10;//123 c=a%10;//4 d=b/10;//12 e=b%10;//3 cout <<c<<c+d+e; return 0; }
Main.cc: In function 'int main()': Main.cc:4:16: error: expected unqualified-id before ';' token int a,b,c,d,e,; ^