0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 17:51:58 +00:00

B2024 输出浮点数

R71616151
This commit is contained in:
Baoshuo Ren 2022-03-17 19:45:08 +08:00
parent 7ddf30bee6
commit 6ed827d570
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

14
Luogu/B2024/B2024.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <cstdio>
double x;
int main() {
scanf("%lf", &x);
printf(
"%f\n"
"%.5f\n"
"%e\n"
"%g\n",
x, x, x, x);
return 0;
}