记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:15: error: 'i' undeclared (first use in this function)
    5 |         int a[i][j]={0};
      |               ^
/in/foo.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:18: error: 'j' undeclared (first use in this function)
    5 |         int a[i][j]={0};
      |                  ^
/in/foo.c:5:13: warning: unused variable 'a' [-Wunused-variable]
    5 |         int a[i][j]={0};
      |             ^

信息

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