记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:5:10: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  int *a1=malloc(sizeof(int)*10000);
          ^~~~~~
/in/foo.c:5:10: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:5:10: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:25:2: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
  system("pause");
  ^~~~~~
/in/foo.c: In function 'SetInter':
/in/foo.c:31:9: warning: incompatible implicit declaration of built-in function 'malloc'
  int *h=malloc(sizeof(int)*10000);
         ^~~~~~
/in/foo.c:31:9: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:31:7: warning: unused variable 'h' [-Wunused-variable]
  int *h=malloc(sizeof(int)*10000);
       ^
/in/foo.c:30:14: warning: unused variable 'y' [-Wunused-variable]
  int i,j,x=0,y;
              ^
/in/foo.c:30:10: warning: unused variable 'x' [-Wunused-variable]
  int i,j,x=0,y;
          ^
# 状态 耗时 内存占用
#1 Accepted 1ms 328.0 KiB
#2 Accepted 1ms 412.0 KiB
#3 Wrong Answer 1ms 212.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 1ms 212.0 KiB

信息

递交者
类型
递交
比赛
数据结构课堂练习9-16
语言
C
递交时间
2019-09-16 10:59:48
评测时间
2019-09-16 10:59:48
评测机
分数
40
总耗时
6ms
峰值内存
412.0 KiB