记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:9: error: 'n' undeclared (first use in this function)
    5 |         n=0;
      |         ^
foo.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
foo.c:7:21: error: 'a' undeclared (first use in this function)
    7 |         scanf("%d",&a);
      |                     ^
foo.c:8:14: warning: unused variable 'arr' [-Wunused-variable]
    8 |         char arr[a];
      |              ^~~
foo.c:4:13: warning: unused variable 'n\U0000ff0ca' [-Wunused-variable]
    4 |         int n,a;
      |             ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1097 xf2-10倒叙输出
语言
C
递交时间
2022-09-24 10:17:27
评测时间
2022-09-24 10:17:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes