记录详情

Compile Error

/in/foo.c: In function 'Search':
/in/foo.c:17:5: warning: 'main' is normally a non-static function [-Wmain]
 int main(void)
     ^~~~
/in/foo.c: In function 'main':
/in/foo.c:33:2: error: expected '}' before 'else'
  else
  ^~~~
/in/foo.c: In function 'Search':
/in/foo.c:38:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
At top level:
/in/foo.c:17:5: warning: 'main' defined but not used [-Wunused-function]
 int main(void)
     ^~~~

信息

递交者
类型
自测
题目
A7-4 数组的查找函数
语言
C
递交时间
2019-03-02 10:06:21
评测时间
2019-03-02 10:06:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes