记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:4:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
  gets(num);
  ^~~~
/in/foo.c:7:12: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  int len = strlen(ch);
            ^~~~~~
/in/foo.c:7:12: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:7:12: note: include '<string.h>' or provide a declaration of 'strlen'
/in/foo.c:16:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%s", ch);
  ^~~~~~
/in/foo.c:16:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:16:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/tmp/ccDceAxr.o: In function `main':
foo.c:(.text.startup+0x13): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 0ms 232.0 KiB
#2 Accepted 0ms 228.0 KiB
#3 Accepted 0ms 248.0 KiB
#4 Accepted 0ms 248.0 KiB
#5 Accepted 0ms 208.0 KiB

信息

递交者
类型
递交
题目
P1097 xf2-10倒叙输出
语言
C
递交时间
2024-08-20 23:25:21
评测时间
2024-08-20 23:25:21
评测机
分数
100
总耗时
4ms
峰值内存
248.0 KiB