4 条题解
- 1
信息
- ID
- 6811
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 1
- 标签
- (无)
- 递交数
- 106
- 已通过
- 70
- 上传者
#include<bits/stdc++.h>
using namespace std;
long double q,w,e,r,t,y,u,i,o,p,d,f,g,h,j,k,l,z,x,c,v,b,n,m;
string s;
long long a[100000],as[100000],asd[100000];
int main()
{
cin>>x>>y;
cout<<fixed<<setprecision(3)<<y/x*1.0000*100<<"%";
return 0;
}
#include<bits/stdc++.h>
using namespace std;
long double q,w,e,r,t,y,u,i,o,p,d,f,g,h,j,k,l,z,x,c,v,b,n,m;
string s;
long long a[100000],as[100000],asd[100000];
int main()
{
cin>>x>>y;
cout<<fixed<<setprecision(3)<<y/x*1.0000*100<<"%";
return 0;
}