记录详情

Compile Error

foo.c: In function 'Opp':
foo.c:3:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
 int Opp(x)
     ^~~
foo.c: In function 'main':
foo.c:20:2: error: expected ';' before 'printf'
  printf("%d",b);
  ^~~~~~
foo.c:17:11: warning: variable 'b' set but not used [-Wunused-but-set-variable]
     int a,b;
           ^
foo.c:18:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&a);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
语言
C
递交时间
2021-08-29 18:50:04
评测时间
2021-08-29 18:50:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes