Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:6: error: 'n' was not declared in this scope
   if(n==2)
      ^
/in/foo.cc:18:4: error: 'c' was not declared in this scope
    c=(i/10%10)+(i/100);
    ^
/in/foo.cc:34:6: error: 'n' was not declared in this scope
   if(n==2)
      ^
/in/foo.cc:36:4: error: 'c' was not declared in this scope
    c=(i/10%10)+(i/100);
    ^

信息

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