Accepted
foo.cc: In function 'int main()': foo.cc:8:12: warning: unused variable 'index' [-Wunused-variable] int a[50],index[50]; ^~~~~ foo.cc: In function 'int M(int*, int)': foo.cc:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(a[i]>a[imax]) ^~ foo.cc:31:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return imax; ^~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 题目
- A7-3 数组的极值下标函数
- 比赛
- 2020苏青奥赛集训营(2021-3-7课后作业)
- 语言
- C++
- 递交时间
- 2021-03-07 14:04:57
- 评测时间
- 2021-03-07 14:04:57
- 评测机
- 分数
- 100
- 总耗时
- 9ms
- 峰值内存
- 384.0 KiB