提交记录 #298

提交时间:2024-11-19 21:59:44
语言:c 状态:Unaccepted
编译情况:编译成功
code.c: In function ‘main’:
code.c:19:9: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
   19 |         scanf("%d%d", &number1, &number2);
      |         ^~~~~
code.c:19:9: warning: incompatible implicit declaration of built-in function ‘scanf’
code.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
  +++ |+#include <stdio.h>
    1 | 
code.c:22:13: warning: implicit declaration of function ‘getchar’ [-Wimplicit-function-declaration]
   22 |             getchar();
      |             ^~~~~~~
code.c:22:13: note: ‘getchar’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’?
code.c:33:11: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
   33 |           printf("\n");
      |           ^~~~~~
code.c:33:11: warning: incompatible implicit declaration of built-in function ‘printf’
code.c:33:11: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
code.c:36:9: warning: incompatible implicit declaration of built-in function ‘printf’
   36 |         printf("Field #%d:\n", line++);
      |         ^~~~~~
code.c:36:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
固定测试点#1:
acAccepted
time 0.001s
memory 556 kB
固定测试点#2:
acAccepted
time 0.001s
memory 492 kB
额外测试点#1:
waWrong Answer
time 0.005s
memory 552 kB
京ICP备2024093084 号