记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:6:13: warning: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Wformat=]
    6 |     scanf("%f,%f,%f",&a,&b,&c);
      |            ~^        ~~
      |             |        |
      |             float *  double *
      |            %lf
/in/foo.c:6:16: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'double *' [-Wformat=]
    6 |     scanf("%f,%f,%f",&a,&b,&c);
      |               ~^        ~~
      |                |        |
      |                float *  double *
      |               %lf
/in/foo.c:6:19: warning: format '%f' expects argument of type 'float *', but argument 4 has type 'double *' [-Wformat=]
    6 |     scanf("%f,%f,%f",&a,&b,&c);
      |                  ~^        ~~
      |                   |        |
      |                   float *  double *
      |                  %lf
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2026-10-31 09:45:23
评测时间
2026-10-31 09:45:23
评测机
分数
0
总耗时
1ms
峰值内存
284.0 KiB