Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: error: 'a' was not declared in this scope
  a=n%10;
  ^
/in/foo.cc:8:2: error: 'b' was not declared in this scope
  b=n/10-10*a; 
  ^
/in/foo.cc:9:2: error: 'c' was not declared in this scope
  c=n/100;
  ^

信息

递交者
类型
递交
题目
P2322 1.3.13:反向输出一个三位数
语言
C++
递交时间
2024-10-27 16:45:40
评测时间
2024-10-27 16:45:40
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes