Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:26: error: 'b' cannot be used as a function
   15 |                         b(j+1)++;
      |                         ~^~~~~
/in/foo.cc:13:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   13 |                         if(x%j==0)
      |                           ^

信息

递交者
类型
递交
题目
P1491 A6-4 最大公约数专题:多个数的最大公约数
语言
C++
递交时间
2026-03-08 17:42:11
评测时间
2026-03-08 17:42:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes