Compile Error
/in/foo.c: In function 'main':
/in/foo.c:13:13: error: conflicting types for 't'; have 'int'
13 | int t=n+m;
| ^
/in/foo.c:7:13: note: previous definition of 't' with type 'int[30]'
7 | int t[30]={0};
| ^
/in/foo.c:13:13: warning: unused variable 't' [-Wunused-variable]
13 | int t=n+m;
| ^
/in/foo.c:9: confused by earlier errors, bailing out
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-11-24 17:06:08
- 评测时间
- 2025-11-24 17:06:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes