提交时间:2019-10-13 11:26:32

运行 ID: 1549

#include<bits/stdc++.h> using namespace std; int main(){ double a[6]; a[1]=2.25/100; a[2]=2.43/100; a[3]=2.70/100; a[4]=2.88/100; a[5]=3.00/100; int b; double c,m; cin>>b>>c; m=c+c*a[b]*b; printf("合计为%.6lf",m); return 0; }