记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:28: error: stray '\357' in program
  scanf("%d,%d,%d",&a,&b,&c);
                            ^
foo.c:5:29: error: stray '\274' in program
  scanf("%d,%d,%d",&a,&b,&c);
                             ^
foo.c:5:30: error: stray '\233' in program
  scanf("%d,%d,%d",&a,&b,&c);
                              ^
foo.c:6:5: error: expected ';' before 'if'
     if(a<b)
     ^~
foo.c:9:3: error: 'else' without a previous 'if'
   else
   ^~~~
foo.c:14:5: error: 'else' without a previous 'if'
     else
     ^~~~
foo.c:23:1: error: expected ';' before '}' token
 }
 ^
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d,%d,%d",&a,&b,&c);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A1-2 分支结构练习:三数的特征值
语言
C
递交时间
2021-08-29 18:48:45
评测时间
2021-08-29 18:48:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes