记录详情

Compile Error

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

信息

递交者
类型
自测
语言
C
递交时间
2025-11-24 16:39:13
评测时间
2025-11-24 16:39:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes