Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130415 鄢晨曦 05求百位数的每一位数之和 C++ Compile Error 0 MS 0 KB 165 2025-09-13 14:40:08

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; cout<<(abc%10)+[(abc/10)%10]+[(ab/10)%10]<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:9: error: 'abc' was not declared in this scope
  cout<<(abc%10)+[(abc/10)%10]+[(ab/10)%10]<