Compile Error

foo.cc: In function 'int main()':
foo.cc:11:6: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
   if(a[i]==m;
      ^
foo.cc:11:10: warning: statement has no effect [-Wunused-value]
   if(a[i]==m;
      ~~~~^~~
foo.cc:12:10: error: expected ')' before ';' token
      sb++;
          ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P2392 1.6.1与指定数字相同的数的个数
语言
C++
递交时间
2021-09-20 11:38:01
评测时间
2021-09-20 11:38:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes