//qf
#include <bits/stdc++.h>
#define f(i,j,n) for(register int i=j;i<=n;i++)
using namespace std;
typedef long long ll;
inline ll read() {
ll x=0;
int f=1;
char ch=getchar();
while(!isdigit(ch)) {
if(ch=='-') f=-1;
ch=getchar();
}
while(isdigit(ch)) x=(x<<1)+(x<<3)+(ch-48),ch=getchar();
return x*f;
}
double d;
signed main() {
cin>>d;
printf("%f\n",d);
cout<<fixed<<setprecision(5)<<d<<endl;
printf("%e\n",d);
printf("%g\n",d);
return 0;
}
一本通1027
猜你喜欢
转载自blog.csdn.net/qq_42628055/article/details/85476934
今日推荐
周排行