foo.c:1:2: error: invalid preprocessing directive #Include; did you mean #include?
1 | #Include<stdio.h>
| ^~~~~~~
| include
foo.c: In function 'main':
foo.c:9:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
9 | printf("请输入一个十进制的数(0~100000000):");
| ^~~~~~
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | #Include<stdio.h>
foo.c:9:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
9 | printf("请输入一个十进制的数(0~100000000):");
| ^~~~~~
foo.c:9:1: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:10:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
10 | scanf("%d",&n);
| ^~~~~
foo.c:10:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:10:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
foo.c:10:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:23:8: warning: zero-length gnu_printf format string [-Wformat-zero-length]
23 | printf("")
| ^~
foo.c:23:11: error: expected ';' before '}' token
23 | printf("")
| ^
| ;
24 | }
| ~
foo.c:29:1: error: expected declaration or statement at end of input
29 | }
| ^
[Hydro](https://hydro.ac)提供评测服务