记录详情

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:16:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
  free(a);
  ^~~~
/in/foo.c:16:2: warning: incompatible implicit declaration of built-in function 'free'
/in/foo.c:16:2: note: include '<stdlib.h>' or provide a declaration of 'free'
/in/foo.c:6:14: warning: unused variable 'x' [-Wunused-variable]
  int n=0,i=0,x=0;
              ^
# 状态 耗时 内存占用
#1 Accepted 0ms 192.0 KiB
#2 Accepted 0ms 204.0 KiB
#3 Accepted 0ms 208.0 KiB
#4 Accepted 1ms 212.0 KiB
#5 Accepted 0ms 196.0 KiB

信息

递交者
类型
递交
比赛
数据结构课堂练习9-9
语言
C
递交时间
2019-09-09 11:29:43
评测时间
2019-09-09 11:29:43
评测机
分数
100
总耗时
4ms
峰值内存
212.0 KiB