###float 改为double 为啥不对?

P1423 小玉在游泳

精度和范围不够
by SunSkydp @ 2022-01-31 16:24:39


@[jlnmgl](/user/668556) 第六行`scanf("%f",&a);/*输入目标*/`如果是用double要将`%f`改为`%lf`
by __BAI__ @ 2022-01-31 16:25:22


@[SunSkydp](/user/375241) double 的精度不是更高?
by jlnmgl @ 2022-01-31 18:20:20


@[__INF__](/user/458493) 感谢感谢
by jlnmgl @ 2022-01-31 18:22:48


vvvv
by 20110728qianqingwen @ 2022-02-12 09:09:15


|