Compile Error

foo.cc: In function 'int main()':
foo.cc:17:15: error: invalid operands of types 'int(int)' and 'int' to binary 'operator%'
   17 |  if(n==m+3&&SN%6==0&&SM%6==0)
      |             ~~^~
      |             |  |
      |             |  int
      |             int(int)
foo.cc:17:22: error: 'SM' was not declared in this scope; did you mean 'SN'?
   17 |  if(n==m+3&&SN%6==0&&SM%6==0)
      |                      ^~
      |                      SN
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1124 拟互满数(1)
语言
C++
递交时间
2021-12-12 17:16:33
评测时间
2021-12-12 17:16:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes