Wrong Answer
/in/foo.cc: In function 'void insert(int*, int, int)': /in/foo.cc:21:14: warning: statement has no effect [-Wunused-value] 21 | for (i; i < n - 1; i++)//2 5 7 9 11,x=6->2 5 6 9 11 0,x=7 ->2 5 6 7 11 0,x=9 ->2 5 6 7 9 0,x=11 ->2 5 6 7 9 11,x=0 | ^ /in/foo.cc: In function 'int find_posi(int*, int, int)': /in/foo.cc:15:1: warning: control reaches end of non-void function [-Wreturn-type] 15 | } | ^
信息
- 递交者
- 类型
- 递交
- 题目
- A7-5 数组的有序插入函数
- 比赛
- 2025年暑期编程训练营之二
- 语言
- C++
- 递交时间
- 2025-07-05 09:43:24
- 评测时间
- 2025-07-05 09:43:24
- 评测机
- 分数
- 80
- 总耗时
- 13ms
- 峰值内存
- 732.0 KiB