记录详情

Compile Error

foo.c: In function 'main':
foo.c:8:29: error: 'a' undeclared (first use in this function)
    8 |                 scanf("%d",&a[i]);
      |                             ^
foo.c:8:29: note: each undeclared identifier is reported only once for each function it appears in
foo.c:12:25: error: '\U0000ff5bint' undeclared (first use in this function)
   12 |                         {int temp=a[j];
      |                         ^~~~~
foo.c:12:30: error: expected ';' before 'temp'
   12 |                         {int temp=a[j];
      |                              ^~~~~
      |                              ;
foo.c:14:45: error: '\U0000ff5d' undeclared (first use in this function)
   14 |                                 a[j+1]=temp;}
      |                                             ^~
foo.c:14:47: error: expected ';' before 'for'
   14 |                                 a[j+1]=temp;}
      |                                               ^
      |                                               ;
   15 |     for(int i=0;i<n;i++)
      |     ~~~                                        
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1531 Problem 4B. 细菌吞噬
语言
C
递交时间
2023-10-31 14:56:22
评测时间
2023-10-31 14:56:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes