Compile Error
/in/foo.c: In function 'bubbleSort': /in/foo.c:11:7: error: 'a' undeclared (first use in this function) if(a[j]>a[j+1]) ^ /in/foo.c:11:7: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c: In function 'main': /in/foo.c:23:10: warning: format '%s' expects a matching 'char *' argument [-Wformat=] scanf("%s"); ^ /in/foo.c:25:18: error: expected expression before ']' token printf("%s",str[]); ^
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-12-06 16:33:41
- 评测时间
- 2024-12-06 16:33:41
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes