记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:10: error: stray '\357' in program
     int i,n;
          ^
foo.c:5:11: error: stray '\274' in program
     int i,n;
           ^
foo.c:5:12: error: stray '\214' in program
     int i,n;
            ^
foo.c:5:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'n'
     int i,n;
             ^
foo.c:5:13: error: 'n' undeclared (first use in this function)
foo.c:5:13: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:6: error: 'i' undeclared (first use in this function)
  for(i=0;i<n;i++)
      ^
foo.c:7:6: warning: unused variable 'a' [-Wunused-variable]
  int a[n];
      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-3 序列循环左移
比赛
2021(四) 作业第一场:秀肌肉
语言
C
递交时间
2021-10-01 02:18:38
评测时间
2021-10-01 02:18:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes