记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:10: error: expected ',' or ';' before 'b'
  int a=2 b=5 c=3;
          ^
/in/foo.cc:7:7: error: 'b' was not declared in this scope
  if(a<b)
       ^
/in/foo.cc:13:7: error: 'c' was not declared in this scope
  if(a<c)
       ^
/in/foo.cc:19:5: error: 'b' was not declared in this scope
  if(b>c)
     ^
/in/foo.cc:19:7: error: 'c' was not declared in this scope
  if(b>c)
       ^
/in/foo.cc:25:23: error: 'b' was not declared in this scope
   printf("%d %d %d",a,b,c);
                       ^
/in/foo.cc:25:25: error: 'c' was not declared in this scope
   printf("%d %d %d",a,b,c);
                         ^

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
语言
C++
递交时间
2024-10-21 22:55:46
评测时间
2024-10-21 22:55:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes