Compile Error

foo.cc: In function 'int main()':
foo.cc:17:5: error: 'c' was not declared in this scope
   17 |     c=(i/10%10)+(i/100);
      |     ^
foo.cc:34:6: error: 'n' was not declared in this scope
   34 |   if(n==2)
      |      ^
foo.cc:36:4: error: 'c' was not declared in this scope
   36 |    c=(i/10%10)+(i/100);
      |    ^
[Hydro](https://hydro.ac)提供评测服务

信息

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