Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   13 |                         if(x%j==0)
      |                           ^
/in/foo.cc:22:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   22 |                 if(b[i+1]==b)
      |                    ~~~~~~^~~

信息

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