Compile Error
/in/foo.c: In function 'FindMax': /in/foo.c:7:1: error: 'max_num' undeclared (first use in this function) max_num=1; ^~~~~~~ /in/foo.c:7:1: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c:8:12: error: expected ';' before ':' token for(i=1;i<n:i++) ^ /in/foo.c:5:9: warning: unused variable 'mx_num' [-Wunused-variable] int max,mx_num; ^~~~~~ /in/foo.c:17:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
信息
- 递交者
- 类型
- 递交
- 题目
- 1-4 最大值的个数
- 比赛
- 2023 程序设计与基础(单个的数组)
- 语言
- C
- 递交时间
- 2023-11-21 15:14:13
- 评测时间
- 2023-11-21 15:14:13
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes