记录详情

Accepted

/in/foo.c: In function 'count':
/in/foo.c:9:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    9 |     while((!isalpha(*p))&&*p)
      |     ^~~~~
/in/foo.c:11:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   11 |         if(*p=='\0')break;
      |         ^~
/in/foo.c: In function 'main':
/in/foo.c:26:1: warning: 'gets' is deprecated [-Wdeprecated-declarations]
   26 | gets(a);
      | ^~~~
In file included from /in/foo.c:1:
/usr/include/stdio.h:605:14: note: declared here
  605 | extern char *gets (char *__s) __wur __attribute_deprecated__;
      |              ^~~~
/usr/bin/ld: /tmp/cceCzBJO.o: in function `main':
foo.c:(.text.startup+0x51): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-03-06 16:06:29
评测时间
2025-03-06 16:06:29
评测机
分数
10
总耗时
1ms
峰值内存
284.0 KiB