记录详情

Accepted

/in/foo.c: In function 'isPalindrome':
/in/foo.c:12:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
     int* digits = (int*)malloc(digitCount * sizeof(int));
                         ^~~~~~
/in/foo.c:12:25: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:12:25: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:25:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
     free(digits);
     ^~~~
/in/foo.c:25:5: warning: incompatible implicit declaration of built-in function 'free'
/in/foo.c:25:5: note: include '<stdlib.h>' or provide a declaration of 'free'
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2024-11-05 08:02:12
评测时间
2024-11-05 08:02:12
评测机
分数
10
总耗时
1ms
峰值内存
204.0 KiB