/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:8:5: error: 'vctor' was not declared in this scope
    8 |     vctor<int> li(n);
      |     ^~~~~
foo.cc:8:11: error: expected primary-expression before 'int'
    8 |     vctor<int> li(n);
      |           ^~~
foo.cc:9:14: error: 'li' was not declared in this scope; did you mean 'i'?
    9 |  for(int i=0;li<n;i++)
      |              ^~
      |              i
foo.cc:17:7: error: 'li' was not declared in this scope; did you mean 'i'?
   17 |    if(li[j] >li[j+1])
      |       ^~
      |       i
foo.cc:26:5: error: 'li' was not declared in this scope
   26 |  if(li[0] - m <= 0)
      |     ^~
foo.cc:37:3: error: 'result' was not declared in this scope; did you mean 'rsult'?
   37 |   result -= n*m - 1;
      |   ^~~~~~
      |   rsult
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1054 牛场围栏
语言
C++
递交时间
2022-04-11 16:13:08
评测时间
2022-04-11 16:13:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes