Compile Error
/in/foo.c: In function 'main':
/in/foo.c:19:20: error: 'max_index\U0000ff01' undeclared (first use in this function); did you mean 'max_index'?
19 | if(max_index!=i){
| ^~~~~~~~~~~
| max_index
/in/foo.c:19:20: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:26:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
26 | printf("%d",&arr[i]);
| ~^ ~~~~~~~
| | |
| | int *
| int
| %ls
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-11-29 16:20:51
- 评测时间
- 2025-11-29 16:20:51
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes