记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:7:11: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  a=(int *)malloc(10000*sizeof(int)); 
           ^~~~~~
/in/foo.c:7:11: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:7:11: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:17:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
  free(a);
  ^~~~
/in/foo.c:17:2: warning: incompatible implicit declaration of built-in function 'free'
/in/foo.c:17:2: note: include '<stdlib.h>' or provide a declaration of 'free'
/in/foo.c: In function 'Search':
/in/foo.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 0ms 212.0 KiB
#2 Accepted 0ms 220.0 KiB
#3 Accepted 0ms 212.0 KiB
#4 Accepted 0ms 220.0 KiB
#5 Accepted 0ms 212.0 KiB

信息

递交者
类型
递交
题目
A7-4 数组的查找函数
比赛
数据结构课堂练习9-9
语言
C
递交时间
2019-09-09 11:28:33
评测时间
2019-09-09 11:28:33
评测机
分数
100
总耗时
3ms
峰值内存
220.0 KiB