记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:11:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
     int len = strlen(buf);
               ^~~~~~
/in/foo.c:11:15: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:11:15: note: include '<string.h>' or provide a declaration of 'strlen'
/in/foo.c:17:13: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
             memcpy(&buf[i], &buf[i+1], len - i);
             ^~~~~~
/in/foo.c:17:13: warning: incompatible implicit declaration of built-in function 'memcpy'
/in/foo.c:17:13: note: include '<string.h>' or provide a declaration of 'memcpy'
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB
#2 Wrong Answer 0ms 220.0 KiB
#3 Wrong Answer 0ms 212.0 KiB
#4 Wrong Answer 0ms 220.0 KiB
#5 Wrong Answer 0ms 204.0 KiB

信息

递交者
类型
递交
题目
P1061 A8-5 删除字符串中多余的一种字符
语言
C
递交时间
2019-05-12 22:28:27
评测时间
2019-05-12 22:28:27
评测机
分数
0
总耗时
4ms
峰值内存
220.0 KiB