提交记录 #89

提交时间:2024-11-02 15:52:03
语言:c 状态:Unaccepted
编译情况:编译成功
code.c: In function ‘main’:
code.c:3:5: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
    3 |     scanf("%d",&year);
      |     ^~~~~
code.c:3:5: 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 | int main(){
code.c:19:9: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
   19 |         printf("There is 1 Black Friday in year %d.\n",year);
      |         ^~~~~~
code.c:19:9: warning: incompatible implicit declaration of built-in function ‘printf’
code.c:19:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
code.c:24:9: warning: incompatible implicit declaration of built-in function ‘printf’
   24 |         printf("There are %d Black Fridays in year %d.\n",count,year);
      |         ^~~~~~
code.c:24:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
固定测试点#1:
waWrong Answer
time 0.027s
memory 552 kB
固定测试点#2:
waWrong Answer
time 0.000s
memory 552 kB
固定测试点#3:
waWrong Answer
time 0.000s
memory 232 kB
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号