记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:24:16: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
     int* arr = malloc(n * sizeof(int));
                ^~~~~~
/in/foo.c:24:16: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:24:16: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:30:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
     free(arr);
     ^~~~
/in/foo.c:30:5: warning: incompatible implicit declaration of built-in function 'free'
/in/foo.c:30:5: note: include '<stdlib.h>' or provide a declaration of 'free'
# 状态 耗时 内存占用
#1 Accepted 1ms 232.0 KiB
#2 Accepted 1ms 232.0 KiB
#3 Accepted 0ms 248.0 KiB
#4 Accepted 0ms 276.0 KiB
#5 Wrong Answer 0ms 248.0 KiB

信息

递交者
类型
递交
题目
P2842 5-4 最小公倍数
语言
C
递交时间
2023-10-01 09:37:43
评测时间
2023-10-01 09:37:43
评测机
分数
80
总耗时
4ms
峰值内存
276.0 KiB