记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:12:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |                 if((b==0&&a!=0)||a[j]%b[j]!=0)
      |                 ^~
foo.cc:14:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   14 |                         break;
      |                         ^~~~~
foo.cc:15:17: error: 'else' without a previous 'if'
   15 |                 else
      |                 ^~~~
foo.cc:6:22: warning: unused variable 'cnt' [-Wunused-variable]
    6 |         unsigned int cnt=0;
      |                      ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1229 A 阅读程序
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 19:47:02
评测时间
2022-08-21 19:47:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes