记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%s %s",&a,&b);
  ^~~~~
/in/foo.c:6:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:6:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[101]' [-Wformat=]
  scanf("%s %s",&a,&b);
          ^
/in/foo.c:6:13: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[101]' [-Wformat=]
  scanf("%s %s",&a,&b);
             ^
/in/foo.c:7:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  len=strlen(a);
      ^~~~~~
/in/foo.c:7:6: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:7:6: note: include '<string.h>' or provide a declaration of 'strlen'
/in/foo.c:16:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   printf("Even\n");
   ^~~~~~
/in/foo.c:16:3: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:16:3: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:19:3: warning: incompatible implicit declaration of built-in function 'printf'
   printf("Odd\n");
   ^~~~~~
/in/foo.c:19:3: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:4:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,len;
        ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 248.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Wrong Answer 1ms 248.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 228.0 KiB
#6 Wrong Answer 1ms 248.0 KiB
#7 Wrong Answer 1ms 208.0 KiB
#8 Accepted 1ms 212.0 KiB
#9 Accepted 1ms 212.0 KiB
#10 Wrong Answer 1ms 208.0 KiB

信息

递交者
类型
递交
题目
P1491 D. 梅开二度
比赛
2023年新生赛(第三场)
语言
C
递交时间
2023-09-09 19:39:20
评测时间
2023-09-09 19:39:20
评测机
分数
20
总耗时
12ms
峰值内存
248.0 KiB