记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:2: error: expected ';' before 'if'
  if(a<b)
  ^~
/in/foo.c:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(a<c)
  ^~
/in/foo.c:14:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   a=c;
   ^
/in/foo.c:16:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(b<c)
  ^~
/in/foo.c:18:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   b=c;
   ^
/in/foo.c:21:2: error: expected ';' before 'return'
  return 0;
  ^~~~~~

信息

递交者
类型
自测
题目
A1-1 分支结构练习:三数排序
语言
C
递交时间
2019-03-31 18:10:57
评测时间
2019-03-31 18:10:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes