记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:6:13: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  a = (int *)malloc(x * sizeof(int));
             ^~~~~~
/in/foo.c:6:13: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:6:13: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:33:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
    free(temp);
    ^~~~
/in/foo.c:33:4: warning: incompatible implicit declaration of built-in function 'free'
/in/foo.c:33:4: note: include '<stdlib.h>' or provide a declaration of 'free'
/in/foo.c:59:4: warning: incompatible implicit declaration of built-in function 'free'
    free(temp);
    ^~~~
/in/foo.c:59:4: note: include '<stdlib.h>' or provide a declaration of 'free'
/in/foo.c:66:2: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
  system("pause");
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 212.0 KiB

信息

递交者
类型
递交
题目
P1014 OO3-1 无序顺序表类的基本运算
比赛
数据结构课堂练习9-23
语言
C
递交时间
2019-09-23 11:15:32
评测时间
2019-09-23 11:15:32
评测机
分数
100
总耗时
5ms
峰值内存
384.0 KiB