mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-12 20:06:27 +00:00
15 lines
177 B
C++
15 lines
177 B
C++
|
#include <cstdio>
|
||
|
|
||
|
double x;
|
||
|
|
||
|
int main() {
|
||
|
scanf("%lf", &x);
|
||
|
printf(
|
||
|
"%f\n"
|
||
|
"%.5f\n"
|
||
|
"%e\n"
|
||
|
"%g\n",
|
||
|
x, x, x, x);
|
||
|
return 0;
|
||
|
}
|