/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:30:5: warning: 'main' is normally a non-static function [-Wmain]
 int main(void)
     ^~~~
/in/foo.c:48:5: error: static declaration of 'up' follows non-static declaration
 int up(int low,int high)
     ^~
/in/foo.c:28:5: note: previous declaration of 'up' was here
 int up(int low,int high);
     ^~
/in/foo.c:67:5: error: static declaration of 'down' follows non-static declaration
 int down(int low,int high)
     ^~~~
/in/foo.c:29:5: note: previous declaration of 'down' was here
 int down(int low,int high);
     ^~~~
/in/foo.c:85:1: error: expected declaration or statement at end of input
 }
 ^
/in/foo.c:85:1: error: expected declaration or statement at end of input
At top level:
/in/foo.c:67:5: warning: 'down' defined but not used [-Wunused-function]
 int down(int low,int high)
     ^~~~
/in/foo.c:48:5: warning: 'up' defined but not used [-Wunused-function]
 int up(int low,int high)
     ^~
/in/foo.c:30:5: warning: 'main' defined but not used [-Wunused-function]
 int main(void)
     ^~~~

信息

递交者
类型
递交
题目
P1098 合唱队形
语言
C
递交时间
2017-10-29 20:54:12
评测时间
2017-10-29 20:54:12
评测机
分数
0
总耗时
36ms
峰值内存
3.324 MiB