记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:14:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(i=0;i<=n;i++)
         ^~~
/in/foo.c:16:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return 0;
   ^~~~~~
/in/foo.c: In function 'Insert':
/in/foo.c:18:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
 int Insert(x)
     ^~~~~~
/in/foo.c:30:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.c:21:11: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  for(j=0;j<=n-2;j++)
          ~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 212.0 KiB

信息

递交者
类型
自测
题目
A7-5 数组的有序插入函数
语言
C
递交时间
2020-11-17 15:39:05
评测时间
2020-11-17 15:39:05
评测机
分数
0
总耗时
1ms
峰值内存
212.0 KiB