记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:9: error: stray '\357' in program
  int n,k,a[10000];
         ^
foo.c:5:10: error: stray '\274' in program
  int n,k,a[10000];
          ^
foo.c:5:11: error: stray '\214' in program
  int n,k,a[10000];
           ^
foo.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
  int n,k,a[10000];
            ^
foo.c:9:15: error: 'a' undeclared (first use in this function)
   scanf("%d",&a[i]);
               ^
foo.c:9:15: note: each undeclared identifier is reported only once for each function it appears in
foo.c:11:14: error: 'k' undeclared (first use in this function)
  scanf("%d",&k);
              ^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A7-6 数组的左移函数
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-31 12:00:40
评测时间
2021-10-31 12:01:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes