记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:10: error: 't' undeclared (first use in this function)
    6 |  if(b<a) t=b;b=a;a=t;
      |          ^
foo.c:6:10: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    6 |  if(b<a) t=b;b=a;a=t;
      |  ^~
foo.c:6:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    6 |  if(b<a) t=b;b=a;a=t;
      |              ^
foo.c:7:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    7 |  if(c<b) t=c;c=b;b=t;
      |  ^~
foo.c:7:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    7 |  if(c<b) t=c;c=b;b=t;
      |              ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
语言
C
递交时间
2022-08-18 17:35:05
评测时间
2022-08-18 17:35:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes