记录详情

Compile Error

foo.c:1:2: error: invalid preprocessing directive #define_CRT_SECURE_NO_WARNINGS
    1 | #define_CRT_SECURE_NO_WARNINGS 1
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c: In function 'main':
foo.c:5:9: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    5 | scanf("%d",n)
      |        ~^  ~
      |         |  |
      |         |  int
      |         int *
foo.c:5:14: error: expected ';' before 'for'
    5 | scanf("%d",n)
      |              ^
      |              ;
    6 | for(i=1;i<=n;i++)
      | ~~~           
foo.c:4:16: warning: unused variable 'b' [-Wunused-variable]
    4 | {int i,ret=1,n,b;
      |                ^
foo.c:4:8: warning: unused variable 'ret' [-Wunused-variable]
    4 | {int i,ret=1,n,b;
      |        ^~~
foo.c:4:6: warning: unused variable 'i' [-Wunused-variable]
    4 | {int i,ret=1,n,b;
      |      ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1089 xf2-2计算阶乘位数
语言
C
递交时间
2022-10-04 17:02:55
评测时间
2022-10-04 17:02:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes