提交记录 #334

提交时间:2024-11-26 23:19:32
语言:c 状态:CompileError
编译情况:编译错误
code.c: In function ‘main’:
code.c:10:5: warning: implicit declaration of function ‘fgets’ [-Wimplicit-function-declaration]
   10 |     fgets(p, 200, stdin);
      |     ^~~~~
code.c:10:19: error: ‘stdin’ undeclared (first use in this function)
   10 |     fgets(p, 200, stdin);
      |                   ^~~~~
code.c:5:1: note: ‘stdin’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’?
    4 | #include <ctype.h>
  +++ |+#include <stdio.h>
    5 | int main(){
code.c:10:19: note: each undeclared identifier is reported only once for each function it appears in
   10 |     fgets(p, 200, stdin);
      |                   ^~~~~
code.c:23:17: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
   23 |                 putchar(*(excg+q));
      |                 ^~~~~~~
code.c:32:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
   32 |     printf("\n");
      |     ^~~~~~
code.c:32:5: warning: incompatible implicit declaration of built-in function ‘printf’
code.c:32:5: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
固定测试点暂不可用
... 等待中
time N/A
memory N/A
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号