Compile Error
foo.cc: In function 'int main()': foo.cc:13:6: error: overloaded function with no contextual type information max=0; ^ foo.cc:21:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(a[i]=a[min]||a[i]<0) ~~~~^~~~~~~~~~~~~~~ foo.cc:29:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(a[i]=a[min1]||a[i]>0) ~~~~^~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 比赛
- 2020苏青奥赛集训营(2021-3-7课后作业)
- 语言
- C++
- 递交时间
- 2021-03-08 21:21:47
- 评测时间
- 2021-03-08 21:21:47
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes