记录详情

Compile Error

foo.cc:18:30: error: stray '\357' in program
      if (a[i] >= k && a[i] <w)
                              ^
foo.cc:18:31: error: stray '\274' in program
      if (a[i] >= k && a[i] <w)
                               ^
foo.cc:18:32: error: stray '\211' in program
      if (a[i] >= k && a[i] <w)
                                ^
foo.cc: In function 'int main()':
foo.cc:18:10: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
      if (a[i] >= k && a[i] <w)
          ^
foo.cc:19:6: error: expected ';' before 'cnt'
      cnt++;
      ^~~
foo.cc:18:20: warning: statement has no effect [-Wunused-value]
      if (a[i] >= k && a[i] <w)
          ~~~~~~~~~~^~~~~~~~~~
foo.cc:20:15: error: expected ')' before ';' token
    cout << cnt;
               ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1226 漫长的等待
语言
C++
递交时间
2021-11-19 20:49:42
评测时间
2021-11-19 20:49:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes