/ OK /

记录详情

Compile Error

/in/foo.c:3:1: error: expected ',' or ';' before 'int'
 int a[N] = {10}
 ^~~
/in/foo.c: In function 'main':
/in/foo.c:70:46: error: 'a' undeclared (first use in this function)
     for (int i = 0; i < n; ++i) scanf("%d", &a[i]);
                                              ^
/in/foo.c:70:46: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c: In function 'swap':
/in/foo.c:7:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
快速排序
语言
C
递交时间
2019-12-05 23:25:42
评测时间
2019-12-05 23:25:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes