Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:16: error: 'b' was not declared in this scope
  cout<<q<<" "<<b<<" "<<g;
                ^
/in/foo.cc:8:6: warning: unused variable 's' [-Wunused-variable]
  int s=(n%100-g)/10;
      ^

信息

递交者
类型
递交
题目
P2378 1.5.28:分离整数的各个数位
语言
C++
递交时间
2021-11-06 19:43:15
评测时间
2021-11-06 19:43:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes