记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:11: warning: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Wformat=]
  scanf("%1f %1f",&a,&b);
           ^
/in/foo.c:5:15: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'double *' [-Wformat=]
  scanf("%1f %1f",&a,&b);
               ^
/in/foo.c:7:2: error: expected ',' or ';' before 'printf'
  printf("%.61f\n",min);
  ^~~~~~
/in/foo.c:6:9: warning: unused variable 'min' [-Wunused-variable]
  double min= a<b||a==b
         ^~~

信息

递交者
类型
自测
语言
C
递交时间
2024-10-26 10:30:16
评测时间
2024-10-26 10:30:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes