/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:6:7: error: 'n' was not declared in this scope
    6 |  cin>>n>>m;
      |       ^
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)
      |     ^~
[Hydro](https://hydro.ac)提供评测服务

信息

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