记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:7:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100]' [-Wformat=]
  scanf("%s",&str);
          ^
/in/foo.c:8:4: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  n=strlen(str);
    ^~~~~~
/in/foo.c:8:4: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:8:4: note: include '<string.h>' or provide a declaration of 'strlen'
# 状态 耗时 内存占用
#1 Accepted 1ms 248.0 KiB

信息

递交者
类型
自测
题目
A4-2 回文数专题:反数
语言
C
递交时间
2024-10-21 23:56:43
评测时间
2024-10-21 23:56:43
评测机
分数
10
总耗时
1ms
峰值内存
248.0 KiB