Compile Error
/in/foo.c:13:34: error: parameter 2 ('b') has incomplete type
int cmp(const void *a,const void b)
^
/in/foo.c: In function 'cmp':
/in/foo.c:15:56: error: '(struct student *)a' is a pointer; did you mean to use '->'?
return ((struct student )b).money-((struct student *)a).money;
^
->
/in/foo.c:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 谁拿了最多奖学金
- 语言
- C
- 递交时间
- 2018-12-27 19:37:13
- 评测时间
- 2018-12-27 19:37:13
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes