记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:18: error: too many arguments to function 'reverse'
     printf("%ud",reverse(res,a,0));
                  ^~~~~~~
/in/foo.c:3:14: note: declared here
 unsigned int reverse(unsigned int value);
              ^~~~~~~
/in/foo.c: At top level:
/in/foo.c:10:14: error: conflicting types for 'reverse'
 unsigned int reverse(unsigned int res,unsigned int ul32,int count){
              ^~~~~~~
/in/foo.c:3:14: note: previous declaration of 'reverse' was here
 unsigned int reverse(unsigned int value);
              ^~~~~~~
/in/foo.c: In function 'reverse':
/in/foo.c:18:1: error: expected declaration or statement at end of input
 }                                    
 ^
/in/foo.c:18:1: warning: control reaches end of non-void function [-Wreturn-type]
 }                                    
 ^

信息

递交者
类型
递交
语言
C
递交时间
2019-09-28 13:48:47
评测时间
2019-09-28 13:48:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes