Compile Error

foo.cc: In function 'int main()':
foo.cc:19:3: error: 'a' was not declared in this scope
   19 |   a=n/100;
      |   ^
foo.cc:20:3: error: 'b' was not declared in this scope
   20 |   b=n/10%10;
      |   ^
foo.cc:21:3: error: 'c' was not declared in this scope
   21 |   c=n%10;
      |   ^
foo.cc:22:3: error: 'd' was not declared in this scope
   22 |   d=b+c;
      |   ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1114 满足条件的3位整数(1)
语言
C++
递交时间
2022-06-05 10:40:30
评测时间
2022-06-05 10:40:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes