Compile Error

foo.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
foo.c:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include
      |         ^
foo.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int]
    4 | main()
      | ^~~~
foo.c: In function 'main':
foo.c:7:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 | printf("请输入年 月 日(按顺序,中间用空格隔开):");
      | ^~~~~~
foo.c:7:1: warning: incompatible implicit declaration of built-in function 'printf'
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #include
foo.c:8:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    8 | scanf("%d%d%d",&year,&month,&day);
      | ^~~~~
foo.c:8:1: warning: incompatible implicit declaration of built-in function 'scanf'
foo.c:8:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:35:1: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
   35 | system("pause"); //按任意键继续...
      | ^~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1026 计算某日期的天数***
语言
C
递交时间
2022-07-10 21:15:59
评测时间
2022-07-10 21:16:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes