Compile Error
/in/foo.cc: In function 'void Insert(int, int*, int)':
/in/foo.cc:14:45: warning: unused variable 'temp' [-Wunused-variable]
14 | int temp=a[j];
| ^~~~
/in/foo.cc:26:45: warning: unused variable 'temp' [-Wunused-variable]
26 | int temp=a[j];
| ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:51:11: error: expected initializer before 'cin'
51 | cin>>x;
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- A7-5 数组的有序插入函数
- 比赛
- 2025年暑期编程训练营之二
- 语言
- C++
- 递交时间
- 2025-07-05 09:09:34
- 评测时间
- 2025-07-05 09:09:34
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes