Accepted
/in/foo.c: In function 'main': /in/foo.c:6:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] int *p=(float*)malloc(4*n); ^~~~~~ /in/foo.c:6:20: warning: incompatible implicit declaration of built-in function 'malloc' /in/foo.c:6:20: note: include '<stdlib.h>' or provide a declaration of 'malloc' /in/foo.c:6:12: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] int *p=(float*)malloc(4*n); ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1000 语言学习
- 语言
- C
- 递交时间
- 2021-12-08 09:18:04
- 评测时间
- 2021-12-08 09:18:04
- 评测机
- 分数
- 10
- 总耗时
- 1ms
- 峰值内存
- 236.0 KiB