记录详情

Compile Error

/in/foo.cc:9:28: error: stray '\357' in program
  for (int i = 0; i < n; i++)
                            ^
/in/foo.cc:9:29: error: stray '\274' in program
  for (int i = 0; i < n; i++)
                             ^
/in/foo.cc:9:30: error: stray '\211' in program
  for (int i = 0; i < n; i++)
                              ^
/in/foo.cc:18:9: error: stray '\357' in program
      if (a[i] >= k && a[i] <w)
         ^
/in/foo.cc:18:10: error: stray '\274' in program
      if (a[i] >= k && a[i] <w)
          ^
/in/foo.cc:18:11: error: stray '\210' in program
      if (a[i] >= k && a[i] <w)
           ^
/in/foo.cc:18:32: error: stray '\357' in program
      if (a[i] >= k && a[i] <w)
                                ^
/in/foo.cc:18:33: error: stray '\274' in program
      if (a[i] >= k && a[i] <w)
                                 ^
/in/foo.cc:18:34: error: stray '\211' in program
      if (a[i] >= k && a[i] <w)
                                  ^
/in/foo.cc:19:11: error: stray '\357' in program
      cnt++;
           ^
/in/foo.cc:19:12: error: stray '\274' in program
      cnt++;
            ^
/in/foo.cc:19:13: error: stray '\233' in program
      cnt++;
             ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:3: error: expected ')' before 'cin'
   cin >> a[i];
   ^~~
/in/foo.cc:18:12: error: expected '(' before 'a'
      if (a[i] >= k && a[i] <w)
            ^
/in/foo.cc:12:6: warning: unused variable 'cnt' [-Wunused-variable]
  int cnt = 0;
      ^~~

信息

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