记录详情

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 | }
      | ^
# 状态 耗时 内存占用
#1 Accepted 3ms 716.0 KiB
#2 Accepted 2ms 732.0 KiB
#3 Accepted 2ms 540.0 KiB
#4 Wrong Answer 2ms 732.0 KiB
#5 Accepted 2ms 544.0 KiB

信息

递交者
类型
递交
题目
A7-5 数组的有序插入函数
比赛
2025年暑期编程训练营之二
语言
C++
递交时间
2025-07-05 09:43:24
评测时间
2025-07-05 09:43:24
评测机
分数
80
总耗时
13ms
峰值内存
732.0 KiB