记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:15: error: 'a' undeclared (first use in this function)
   scanf("%d",&a[i]);
               ^
/in/foo.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:13:5: error: expected expression before 'int'
     int temp=a[j];
     ^~~
/in/foo.c:13:18: error: stray '\357' in program
     int temp=a[j];
                  ^
/in/foo.c:13:19: error: stray '\274' in program
     int temp=a[j];
                   ^
/in/foo.c:13:20: error: stray '\233' in program
     int temp=a[j];
                    ^
/in/foo.c:14:16: error: stray '\357' in program
     a[j]=a[j+1];
                ^
/in/foo.c:14:17: error: stray '\274' in program
     a[j]=a[j+1];
                 ^
/in/foo.c:14:18: error: stray '\233' in program
     a[j]=a[j+1];
                  ^
/in/foo.c:16:11: error: stray '\357' in program
           }
           ^
/in/foo.c:16:12: error: stray '\275' in program
           }
            ^
/in/foo.c:16:13: error: stray '\235' in program
           }
             ^

信息

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