B2021
#include<bits/stdc++.h>
using namespace std;
int main()
{
float a;
cin>>a;
printf("%3.3f",a);
return 0;
}
B2022
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin>>a;
printf("%12.12f",a);
return 0;
}
B2023
#include<bits/stdc++.h>
using namespace std;
int main()
{
char n;
long long a;
long double b,c;
cin>>n>>a>>b>>c;
cout<<n<<" "<<a<<" ";
printf("%6.6Lf",b);
cout<<" ";
printf("%6.6Lf",c);
cout<<" ";
return 0;
}
B2024
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin>>a;
printf("%6.6f",a);
cout<<endl;
printf("%5.5f",a);
cout<<endl;
printf("%6.6e",a);
cout<<endl;
printf("%6.6g",a);
cout<<endl;
return 0;
}