记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 10:19:54
评测时间
2022-08-27 10:19:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes