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:
parent
7ddf30bee6
commit
6ed827d570
14
Luogu/B2024/B2024.cpp
Normal file
14
Luogu/B2024/B2024.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user