There are so many double-precision floating points defined, but the output is %d, try to use floating-point output; Or forcibly converted into an integer and output.