记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:6: error: expected identifier or '(' before numeric constant
  int 2,5,3,d;
      ^
foo.c:6:19: error: lvalue required as unary '&' operand
  scanf("%d,%d,%d",&2,&5,&3);
                   ^
foo.c:6:22: error: lvalue required as unary '&' operand
  scanf("%d,%d,%d",&2,&5,&3);
                      ^
foo.c:6:25: error: lvalue required as unary '&' operand
  scanf("%d,%d,%d",&2,&5,&3);
                         ^
foo.c:7:2: error: 'd' undeclared (first use in this function)
  d=max (2,5,3);
  ^
foo.c:7:2: note: each undeclared identifier is reported only once for each function it appears in
[Hydro](https://hydro.ac)提供评测服务

信息

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