14 条题解
- 1
信息
- ID
- 862
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 4
- 标签
- 递交数
- 600
- 已通过
- 296
- 上传者
#include <iostream>
#include <stdio.h>
#include <iomanip>
#include <math.h>
using namespace std;
const int N = 1e6 + 10;
const int INF = 0x3f3f3f3f;
int main()
{
int n , x;
double m;
cin >> n >> m >> x;
m = ( m / n ) * x;
cout << fixed << setprecision(2) << m;
return 0;
}
#include<iostream>
using namespace std;
int main(){
double n,m,x;
scanf("%lf%lf%lf",&n,&m,&x);
printf("%.2lf",m/n*x);
return 0;
}
#include <stdio.h>
#include <iostream>
#include <math.h>
#include <iomanip>
using namespace std;
int main()
{
double n,m,x;
cin >> n >> m >> x;
double s=m/n*x;
printf ("%.2lf",s);
}