Compile Error
foo.cc: In function 'int main()': foo.cc:12:22: error: 'mn1' was not declared in this scope; did you mean 'mn2'? 12 | for(int i=2;i<m;i++)mn1=min(mn1,a[i+1]-a[i]); | ^~~ | mn2 foo.cc:14:18: error: 'mn1' was not declared in this scope; did you mean 'mn2'? 14 | cout<<min(mn2/2,mn1); | ^~~ | mn2 foo.cc:8:10: warning: unused variable 'n1' [-Wunused-variable] 8 | int n,m,n1=Mx,mn2=-Mx; | ^~
Found 10 testcases. [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1347 社交距离
- 题目数据
- 下载
- 语言
- C++
- 递交时间
- 2022-07-20 19:26:53
- 评测时间
- 2022-07-20 19:26:53
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes