Compile Error
foo.c: In function 'main':
foo.c:7:21: error: expected ';' before '}' token
7 | {t=a;a=b;b=t}
| ^
| ;
foo.c:9:21: error: expected ';' before '}' token
9 | {t=a;a=c;c=t}
| ^
| ;
foo.c:11:21: error: expected ';' before '}' token
11 | {t=b;b=c;c=t}
| ^
| ;
foo.c:12:30: error: request for member 'b' in something not a structure or union
12 | printf("%d,%d,%d\n",a.b.c);
| ^
foo.c:13:17: error: expected ';' before '}' token
13 | return 0
| ^
| ;
14 | }
| ~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A1-1 分支结构练习:三数排序
- 比赛
- 2023年新生赛(第一场)
- 语言
- C
- 递交时间
- 2023-08-15 12:23:19
- 评测时间
- 2023-08-15 12:23:19
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes