记录详情

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 248.0 KiB
#2 Accepted 1ms 248.0 KiB
#3 Accepted 1ms 248.0 KiB
#4 Accepted 1ms 592.0 KiB
#5 Accepted 5ms 3.328 MiB

信息

递交者
类型
递交
比赛
泰院2405作业赛第三场
语言
C
递交时间
2024-11-05 08:02:18
评测时间
2024-11-05 08:02:18
评测机
分数
100
总耗时
10ms
峰值内存
3.328 MiB