/ Vijos /

记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:7:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  int *a = (int *)malloc(sizeof(int)*n);
                  ^~~~~~
/in/foo.c:7:18: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:7:18: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
  free(a);
  ^~~~
/in/foo.c:33:2: warning: incompatible implicit declaration of built-in function 'free'
/in/foo.c:33:2: note: include '<stdlib.h>' or provide a declaration of 'free'
# 状态 耗时 内存占用
#1 Accepted 2ms 356.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 2ms 360.0 KiB
#5 Accepted 2ms 344.0 KiB
#6 Accepted 2ms 368.0 KiB
#7 Accepted 2ms 372.0 KiB
#8 Accepted 1ms 348.0 KiB
#9 Accepted 1ms 352.0 KiB
#10 Accepted 1ms 352.0 KiB

信息

递交者
类型
递交
题目
P1911 珠心算测验
语言
C
递交时间
2018-04-25 19:56:45
评测时间
2018-04-25 19:56:45
评测机
分数
100
总耗时
19ms
峰值内存
376.0 KiB