Compile Error
foo.c: In function 'FindMaxs': foo.c:13:4: error: expected ';' before '}' token } ^ foo.c: In function 'main': foo.c:22:20: warning: unused variable 'b' [-Wunused-variable] int n1,n2,a[n1],b[n2] ; ^ foo.c:22:14: warning: unused variable 'a' [-Wunused-variable] int n1,n2,a[n1],b[n2] ; ^ foo.c:24:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n1,&n2); ^~~~~~~~~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- A9-7 数组中所有极大值
- 语言
- C
- 递交时间
- 2020-12-01 14:51:47
- 评测时间
- 2020-12-01 14:51:47
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes