/ Vijos /

记录详情

Compile Error

foo.c: In function 'main':
foo.c:8:9: error: variable-sized object may not be initialized
    8 |         int a[L+1]={0};
      |         ^~~
foo.c:19:13: error: 'i' undeclared (first use in this function)
   19 |         for(i=0;i<=L;i++)
      |             ^
foo.c:19:13: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:13: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    8 |         int a[L+1]={0};
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1103 校门外的树
语言
C
递交时间
2023-11-06 01:11:50
评测时间
2023-11-06 01:11:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes