记录详情

Wrong Answer

/in/foo.c: In function 'copyVowels':
/in/foo.c:5:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    5 |     for (i = 0; i < strlen(input); i++) {
      |                     ^~~~~~
/in/foo.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
/in/foo.c:5:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    5 |     for (i = 0; i < strlen(input); i++) {
      |                     ^~~~~~
/in/foo.c:5:21: note: include '<string.h>' or provide a declaration of 'strlen'
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 284.0 KiB
#2 Wrong Answer 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-12-29 11:14:04
评测时间
2025-12-29 11:14:04
评测机
分数
0
总耗时
2ms
峰值内存
284.0 KiB