记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    8 |            for(int i=1;i<=n;i++);
      |            ^~~
/in/foo.c:9:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    9 |            { fact*=i;
      |            ^
/in/foo.c:9:20: error: 'i' undeclared (first use in this function)
    9 |            { fact*=i;
      |                    ^
/in/foo.c:9:20: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
自测
语言
C
递交时间
2025-11-20 14:42:10
评测时间
2025-11-20 14:42:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes