记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:12:31: warning: implicit declaration of function 'leftRotateDigit' [-Wimplicit-function-declaration]
   12 |         unsigned int result = leftRotateDigit(num);
      |                               ^~~~~~~~~~~~~~~
/in/foo.c: At top level:
/in/foo.c:18:14: error: conflicting types for 'leftRotateDigit'; have 'unsigned int(unsigned int)'
   18 | unsigned int leftRotateDigit(unsigned int num) {
      |              ^~~~~~~~~~~~~~~
/in/foo.c:12:31: note: previous implicit declaration of 'leftRotateDigit' with type 'int()'
   12 |         unsigned int result = leftRotateDigit(num);
      |                               ^~~~~~~~~~~~~~~

信息

递交者
类型
递交
比赛
2025年春 南师大“程序设计与竞赛”作业赛第一场
语言
C
递交时间
2025-03-05 20:49:40
评测时间
2025-03-05 20:49:40
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes