Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:3: error: 'sum' was not declared in this scope
   sum+=x%10;
   ^~~
/in/foo.cc:13:8: error: 'sum' was not declared in this scope
  cout<<sum;
        ^~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1031 任意整数的数字之和。
 - 语言
 - C++
 - 递交时间
 - 2021-12-04 10:05:50
 - 评测时间
 - 2021-12-04 10:05:50
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes